]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: bcm2835: add locking to pll*_on/off methods
authorMartin Sperl <kernel@martin.sperl.org>
Mon, 29 Feb 2016 11:39:18 +0000 (11:39 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 17 Mar 2016 17:42:17 +0000 (10:42 -0700)
commitec36a5c6682fdd5328abf15c3c67281bed0241d7
tree661c3386d950521ff390a5415eb86636b1d7ec31
parent6727f086cfe4ddcc651eb2bf4301abfcf619be06
clk: bcm2835: add locking to pll*_on/off methods

Add missing locking to:
* bcm2835_pll_divider_on
* bcm2835_pll_divider_off
to protect the read modify write cycle for the
register access protecting both cm_reg and a2w_reg
registers.

Fixes: 41691b8862e2 ("clk: bcm2835: Add support for programming the
audio domain clocks")

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/clk/bcm/clk-bcm2835.c