Home
last modified time | relevance | path

Searched hist:"9 d82faeb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dmpc512x_dma.c9d82faeb Thu Oct 16 04:00:58 CDT 2014 Maxime Ripard <maxime.ripard@free-electrons.com> dmaengine: mpc512x: Remove chancnt affectations

chanctnt is already filled by dma_async_device_register, which uses the channel
list to know how much channels there is.

Since it's already filled, we can safely remove it from the drivers' probe
function.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
9d82faeb Thu Oct 16 04:00:58 CDT 2014 Maxime Ripard <maxime.ripard@free-electrons.com> dmaengine: mpc512x: Remove chancnt affectations

chanctnt is already filled by dma_async_device_register, which uses the channel
list to know how much channels there is.

Since it's already filled, we can safely remove it from the drivers' probe
function.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>