diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-12-24 17:43:27 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-20 21:09:05 +0300 |
commit | 2e9dcdae4068460c45a308dd891be5248260251c (patch) | |
tree | b7e67042ff4c3dddf15eed877af32d0b04172a0e /drivers/iommu/ipmmu-vmsa.c | |
parent | 66619ac512577572ab464fce9021baa846aa16d7 (diff) | |
download | linux-2e9dcdae4068460c45a308dd891be5248260251c.tar.xz |
clk-gate: fix bit # check in clk_register_gate()
In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit #
should be no higher than 15, however the corresponding check is obviously off-
by-one.
Fixes: 045779942c04 ("clk: gate: add CLK_GATE_HIWORD_MASK")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/iommu/ipmmu-vmsa.c')
0 files changed, 0 insertions, 0 deletions