diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-09-28 03:49:20 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-10-16 12:31:24 +0530 |
commit | 88d8622c0071def657a7eb6c7fd97471808ea9bc (patch) | |
tree | ca7b508724fe53c918a3c275034cdbee21c15867 /fs/btrfs | |
parent | 5a6a6202fa9ab63bce1726663ff5573741bfeab3 (diff) |
dmaengine: sun6i: Restructure code to allow extension for new SoCs
The current code mixes three distinct operations when transforming
the slave config to register settings:
1. special handling of DMA_SLAVE_BUSWIDTH_UNDEFINED, maxburst == 0
2. range checking
3. conversion of raw to register values
As the range checks depend on the specific SoC, move these out of the
conversion to distinct operations.
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>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions