commit | ec36a5c6682fdd5328abf15c3c67281bed0241d7 | [log] [tgz] |
---|---|---|
author | Martin Sperl <kernel@martin.sperl.org> | Mon Feb 29 11:39:18 2016 +0000 |
committer | Eric Anholt <eric@anholt.net> | Thu Mar 17 10:42:17 2016 -0700 |
tree | 661c3386d950521ff390a5415eb86636b1d7ec31 | |
parent | 6727f086cfe4ddcc651eb2bf4301abfcf619be06 [diff] |
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>