dmaengine: dw: revisit data_width property
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Apr 2016 11:15:38 +0000 (14:15 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2016 10:00:47 +0000 (15:30 +0530)
commit2e65060e803e046fc9b5ed0107494a452424845e
tree2e5adfe7ea7400586fff0623636912d2f1ded14a
parent969f750fc63d3fd2f26eceedcdeca5878b785b2e
dmaengine: dw: revisit data_width property

There several changes are done here:

- Convert the property to be in bytes

  Besides that this is a common practice for such property, the use of a value
  in bytes much more convenient than handling the encoded one.

- Rename data_width to data-width in the device tree bindings

  The change leaves the support for the old format as well just in case someone
  will use a newer kernel with an old device tree blob.

- While here, replace dwc_fast_ffs() by __ffs()

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/snps-dma.txt
arch/arc/boot/dts/abilis_tb10x.dtsi
arch/arm/boot/dts/spear13xx.dtsi
drivers/dma/dw/core.c
drivers/dma/dw/platform.c
include/linux/platform_data/dma-dw.h
This page took 0.027311 seconds and 5 git commands to generate.