linux_dsm_epyc7002/drivers/clk/bcm
Boris Brezillon 68af4fa8f3 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
bcm2835_pll_divider_off() is resetting the divider field in the A2W reg
to zero when disabling the clock.

Make sure we preserve this value by reading the previous a2w_reg value
first and ORing the result with A2W_PLL_CHANNEL_DISABLE.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: 41691b8862 ("clk: bcm2835: Add support for programming the audio domain clocks")
Cc: <stable@vger.kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-12-08 14:55:04 -08:00
..
clk-bcm63xx.c clk: bcm: Add BCM63138 clock support 2015-11-20 15:46:27 -08:00
clk-bcm281xx.c clk: bcm281xx: move compatible string definitions 2014-04-30 11:51:39 -07:00
clk-bcm2835-aux.c clk: bcm2835: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:35:48 -07:00
clk-bcm2835.c clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk 2016-12-08 14:55:04 -08:00
clk-bcm21664.c clk: bcm21664: use common clock framework 2014-04-30 11:51:44 -07:00
clk-bcm53573-ilp.c clk: bcm: Add driver for BCM53573 ILP clock 2016-09-16 16:31:29 -07:00
clk-cygnus.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc-armpll.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc-asiu.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc-pll.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc.h clk: iproc: Remove __init from header 2016-01-29 16:31:40 -08:00
clk-kona-setup.c clk-kona-setup: Use kmalloc_array() in parent_process() 2016-09-14 13:47:33 -07:00
clk-kona.c clk: bcm: kona: Migrate to clk_hw based registration and OF APIs 2016-08-24 16:06:18 -07:00
clk-kona.h clk: bcm: kona: Migrate to clk_hw based registration and OF APIs 2016-08-24 16:06:18 -07:00
clk-ns2.c clk: ns2: add clock support for Broadcom Northstar 2 SoC 2015-10-21 17:22:58 -07:00
clk-nsp.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00
Kconfig clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX 2016-11-23 14:31:11 -08:00
Makefile clk: bcm: Add driver for BCM53573 ILP clock 2016-09-16 16:31:29 -07:00