diff options
| -rw-r--r-- | drivers/clk/versatile/clk-vexpress-osc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/versatile/clk-vexpress-osc.c b/drivers/clk/versatile/clk-vexpress-osc.c index d3b5af2a02ab..dd08ecb498be 100644 --- a/drivers/clk/versatile/clk-vexpress-osc.c +++ b/drivers/clk/versatile/clk-vexpress-osc.c | |||
| @@ -44,10 +44,10 @@ static long vexpress_osc_round_rate(struct clk_hw *hw, unsigned long rate, | |||
| 44 | { | 44 | { |
| 45 | struct vexpress_osc *osc = to_vexpress_osc(hw); | 45 | struct vexpress_osc *osc = to_vexpress_osc(hw); |
| 46 | 46 | ||
| 47 | if (WARN_ON(osc->rate_min && rate < osc->rate_min)) | 47 | if (osc->rate_min && rate < osc->rate_min) |
| 48 | rate = osc->rate_min; | 48 | rate = osc->rate_min; |
| 49 | 49 | ||
| 50 | if (WARN_ON(osc->rate_max && rate > osc->rate_max)) | 50 | if (osc->rate_max && rate > osc->rate_max) |
| 51 | rate = osc->rate_max; | 51 | rate = osc->rate_max; |
| 52 | 52 | ||
| 53 | return rate; | 53 | return rate; |
