From: Sergei Shtylyov Date: Wed, 24 Dec 2014 14:43:27 +0000 (+0300) Subject: clk-gate: fix bit # check in clk_register_gate() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~17^2~13^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9dcdae4068460c45a308dd891be5248260251c;p=pandora-kernel.git 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 Signed-off-by: Michael Turquette --- Reading git-diff-tree failed