]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: sun6i: Move number of pchans/vchans/request to device struct
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 28 Sep 2017 01:49:22 +0000 (03:49 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Oct 2017 07:01:24 +0000 (12:31 +0530)
commit500fa9e76bbc40c7dbb65c7daccdc8bc49684429
treebe2d07339f44bf9a7ed88ff5dab705f8475e5951
parentd5f6d8cf31a89045fe5d8fe283ae428763e243a7
dmaengine: sun6i: Move number of pchans/vchans/request to device struct

Preparatory patch: If the same compatible is used for different SoCs which
have a common register layout, but different number of channels, the
channel count can no longer be stored in the config. Store it in the
device structure instead.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c