clk: sunxi-ng: a83t: Fix i2c buses bits
authorMylene JOSSERAND <mylene.josserand@free-electrons.com>
Sun, 5 Nov 2017 16:51:34 +0000 (17:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Dec 2017 08:53:12 +0000 (09:53 +0100)
commitde1090298880468eb6e29e5b1e046862f2301950
tree7d11d50d5c80988290726698bf7c362a18dd84a0
parent8474be654b2723426f37ad95a48bff1acdb022f7
clk: sunxi-ng: a83t: Fix i2c buses bits

[ Upstream commit cc54c0955d6f8618a38a999eecdc3d95306b90de ]

i2c1 and i2c2 bits for CCU are not bit 0 but bit 1 and bit 2.
Because of that, the i2c0 (bit 0) was not correctly configured.
Fixed the correct bits for i2c1 and i2c2.

Fixes: 05359be1176b ("clk: sunxi-ng: Add driver for A83T CCU")

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c