]> git.baikalelectronics.ru Git - kernel.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)
committerStephen Boyd <sboyd@kernel.org>
Mon, 19 Mar 2018 16:27:23 +0000 (09:27 -0700)
commitee27cb32ca3713a7617cb639db76698c31ae07d9
treeea834231cbe5197f2e44aed407839e896c932f08
parenta26ac9e1049ee6e73f698e5ae5a10f48c2861ddb
clk: bcm2835: Fix ana->maskX definitions

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: 87307b6bea6a ("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>
drivers/clk/bcm/clk-bcm2835.c