]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 14 Nov 2017 23:53:53 +0000 (15:53 -0800)
commit7f2aaf115715652e7ee7f1fbb6f588185e355377
tree933d586f70d307b805bd17184ef7c8b5ad840745
parent4a84be2e51c27f19d04ef8428dff056a9b5f163f
clk: sunxi-ng: a83t: Fix i2c buses bits

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: 40999f92d52e ("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>
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c