clk: sunxi-ng: a31: Correct lcd1-ch1 clock register offset
authorChen-Yu Tsai <wens@csie.org>
Wed, 3 May 2017 03:13:46 +0000 (11:13 +0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:01:55 +0000 (03:01 +0000)
commitd681baf5957e3f27e51522d7adb2416b863d0cec
treee42f58d6fd2f530e8963b1f8e4dd1f0a24a15e9c
parentb3bf07182f0f52383afe43d35b24c57e8a4fc287
clk: sunxi-ng: a31: Correct lcd1-ch1 clock register offset

commit 38b8f823864707eb1cf331d2247608c419ed388c upstream.

The register offset for the lcd1-ch1 clock was incorrectly pointing to
the lcd0-ch1 clock. This resulted in the lcd0-ch1 clock being disabled
when the clk core disables unused clocks. This then stops the simplefb
HDMI output path.

Reported-by: Bob Ham <rah@settrans.net>
Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/sunxi-ng/ccu-sun6i-a31.c