summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-10-12 16:36:58 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-13 09:27:00 +0200
commit4cdbc40d64d4b8303a97e29a52862e4d99502beb (patch)
tree008c4de280ac88ac3296ba6a422995f579202e61 /drivers/crypto
parentd51fe3ba9773c8b6fc79f82bbe75d64baf604292 (diff)
clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
The round_rate callback for N-M-factor style clocks does not check if the requested clock rate is supported by the fractional clock mode. While this doesn't affect usage in practice, since the clock rates are also supported through N-M factors, it does not match the set_rate code. Add a check to the round_rate callback so it matches the set_rate callback. Fixes: 6174a1e24b0d ("clk: sunxi-ng: Add N-M-factor clock support") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions