diff options
author | Claudiu Beznea <[email protected]> | 2020-07-22 10:38:12 +0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-07-24 02:18:47 -0700 |
commit | 1bef0986b125942d65d39c10cbfa75b20c3b94b3 (patch) | |
tree | 2bb93247ca03b7e01038f40c9ff00f500d601268 /lib/memory-notifier-error-inject.c | |
parent | 3bf639a611a8deca7e4daa57a4df9ba4c6025249 (diff) |
clk: at91: sam9x60-pll: use logical or for range check
Use logical or for range check. In case bestrate is not in
characteristics->output[0].min..characteristics->output[0].max
range we should return -ERANGE.
Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver")
Signed-off-by: Claudiu Beznea <[email protected]>
Reviewed-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions