clk: sunxi: signedness bug in sun8i_h3_bus_gates_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 12 Dec 2015 12:43:46 +0000 (15:43 +0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 13 Dec 2015 21:07:49 +0000 (22:07 +0100)
commitb1558f168f4ef5956913d73fe330c4da85c74349
tree5d064a2c54834dddd1e3762796774251a080a9d4
parentfd9ffd8be01ad1e1204ed4aa2c43ef0a02e3dddc
clk: sunxi: signedness bug in sun8i_h3_bus_gates_init()

"index" needs to be signed for the error handling to work.

Fixes: ab6e23a4e388 ('clk: sunxi: Add H3 clocks support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun8i-bus-gates.c