clk: rockchip: fix clk_i2sout parent selection bits on rk3399
authorAlberto Panizzo <alberto@amarulasolutions.com>
Fri, 6 Jul 2018 13:18:51 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:20:11 +0000 (09:20 +0200)
commit072555e660f68cd7d7fc4d7d803ffb968c64669f
tree7ba0eab03b064e820255f9902c6eb527312850aa
parent00ee0e07c68d550e61e6e44dbeb1d589cfdb6a48
clk: rockchip: fix clk_i2sout parent selection bits on rk3399

commit a64ad008980c65d38e6cf6858429c78e6b740c41 upstream.

Register, shift and mask were wrong according to datasheet.

Fixes: 115510053e5e ("clk: rockchip: add clock controller for the RK3399")
Cc: stable@vger.kernel.org
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Signed-off-by: Anthony Brandon <anthony@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/rockchip/clk-rk3399.c