]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: bcm2835: Fix ana->maskX definitions
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 8 Feb 2018 13:43:35 +0000 (14:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 16:22:55 +0000 (18:22 +0200)
commit31807899541066dc98ee595bf1c03aeb133e4364
treefb3846077a49adfbf2bc496ca027125a27b1b13f
parentcb5cfed66ebcd8a1ad004e86a61e22c231aa00e4
clk: bcm2835: Fix ana->maskX definitions

commit 49012d1bf5f78782d398adb984a080a88ba42965 upstream.

ana->maskX values are already '~'-ed in bcm2835_pll_set_rate(). Remove
the '~' in the definition to fix ANA setup.

Note that this commit fixes a long standing bug preventing one from
using an HDMI display if it's plugged after the FW has booted Linux.
This is because PLLH is used by the HDMI encoder to generate the pixel
clock.

Fixes: 41691b8862e2 ("clk: bcm2835: Add support for programming the audio domain clocks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/bcm/clk-bcm2835.c