android_kernel_oneplus_msm8998/drivers/clk/bcm
Boris Brezillon 0ff603268b clk: bcm2835: Protect sections updating shared registers
commit 7997f3b2df751aab0b8e60149b226a32966c41ac upstream.

CM_PLLx and A2W_XOSC_CTRL registers are accessed by different clock
handlers and must be accessed with ->regs_lock held.
Update the sections where this protection is missing.

Fixes: 41691b8862 ("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>
2018-03-28 18:40:13 +02:00
..
clk-bcm281xx.c clk: bcm281xx: move compatible string definitions 2014-04-30 11:51:39 -07:00
clk-bcm2835.c clk: bcm2835: Protect sections updating shared registers 2018-03-28 18:40:13 +02:00
clk-bcm21664.c clk: bcm21664: use common clock framework 2014-04-30 11:51:44 -07:00
clk-cygnus.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00
clk-iproc-armpll.c clk: iproc: add initial common clock support 2015-06-18 12:36:38 -07:00
clk-iproc-asiu.c clk: iproc: fix memory leak from clock name 2015-07-02 09:50:26 -07:00
clk-iproc-pll.c Merge branch 'clk-iproc' into clk-next 2015-10-21 17:28:19 -07:00
clk-iproc.h clk: iproc: Separate status and control variables 2015-10-21 17:03:41 -07:00
clk-kona-setup.c clk: bcm/kona: Remove ccu_list 2015-05-14 17:11:20 -07:00
clk-kona.c clk: bcm: Convert to clk_hw based provider APIs 2015-08-24 16:48:48 -07:00
clk-kona.h clk: bcm/kona: Remove ccu_list 2015-05-14 17:11:20 -07:00
clk-ns2.c clk: ns2: Correct SDIO bits 2018-03-24 10:58:41 +01:00
clk-nsp.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00
Kconfig Merge branch 'clk-iproc' into clk-next 2015-10-21 17:28:19 -07:00
Makefile Merge branch 'clk-iproc' into clk-next 2015-10-21 17:28:19 -07:00