summaryrefslogtreecommitdiffstats
path: root/arch/arc/boot
diff options
context:
space:
mode:
authorAndy Shevchenko2016-04-27 13:15:38 +0200
committerVinod Koul2016-05-02 12:00:47 +0200
commit2e65060e803e046fc9b5ed0107494a452424845e (patch)
tree2e5adfe7ea7400586fff0623636912d2f1ded14a /arch/arc/boot
parentdmaengine: dw: platform: check nr_masters to be non-zero (diff)
downloadkernel-qcow2-linux-2e65060e803e046fc9b5ed0107494a452424845e.tar.gz
kernel-qcow2-linux-2e65060e803e046fc9b5ed0107494a452424845e.tar.xz
kernel-qcow2-linux-2e65060e803e046fc9b5ed0107494a452424845e.zip
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>
Diffstat (limited to 'arch/arc/boot')
-rw-r--r--arch/arc/boot/dts/abilis_tb10x.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/boot/dts/abilis_tb10x.dtsi b/arch/arc/boot/dts/abilis_tb10x.dtsi
index cfb5052239a1..2f53bedb0cde 100644
--- a/arch/arc/boot/dts/abilis_tb10x.dtsi
+++ b/arch/arc/boot/dts/abilis_tb10x.dtsi
@@ -112,7 +112,7 @@
chan_allocation_order = <0>;
chan_priority = <1>;
block_size = <0x7ff>;
- data_width = <2>;
+ data-width = <4>;
clocks = <&ahb_clk>;
clock-names = "hclk";
};