summaryrefslogtreecommitdiffstats
path: root/lib/dma-noop.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-06 12:29:04 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-10 11:41:18 +0200
commit87ba9e5962f3f6e9a9a44cc332d1ad222d1c0302 (patch)
treec56ffb140f8b9f7604e431369852c5732fa72f4c /lib/dma-noop.c
parentclk: sunxi-ng: div: Add kerneldoc for the _ccu_div structure (diff)
downloadlinux-87ba9e5962f3f6e9a9a44cc332d1ad222d1c0302.tar.xz
linux-87ba9e5962f3f6e9a9a44cc332d1ad222d1c0302.zip
clk: sunxi-ng: div: Allow to set a maximum
Some dividers might have a maximum value that is lower than the width of the register. Add a field to _ccu_div to handle those case properly. If the field is set to 0, the code will assume that the maximum value is the maximum one that can be used with the field register width. Otherwise, we'll use whatever value has been set. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'lib/dma-noop.c')
0 files changed, 0 insertions, 0 deletions