OpenCloudOS-Kernel/drivers/clk/ingenic
Siarhei Volkau 2f0754f27a clk: jz4725b: fix mmc0 clock gating
The mmc0 clock gate bit was mistakenly assigned to "i2s" clock.
You can find that the same bit is assigned to "mmc0" too.
It leads to mmc0 hang for a long time after any sound activity
also it  prevented PM_SLEEP to work properly.
I guess it was introduced by copy-paste from jz4740 driver
where it is really controls I2S clock gate.

Fixes: 226dfa4726 ("clk: Add Ingenic jz4725b CGU driver")
Signed-off-by: Siarhei Volkau <lis8215@gmail.com>
Tested-by: Siarhei Volkau <lis8215@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220205171849.687805-2-lis8215@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-02-17 17:05:07 -08:00
..
Kconfig clk: ingenic: Add support for the JZ4760 2021-06-27 19:49:18 -07:00
Makefile clk: ingenic: Add support for the JZ4760 2021-06-27 19:49:18 -07:00
cgu.c clk: ingenic: Fix bugs with divided dividers 2021-11-02 14:27:22 -07:00
cgu.h clk: ingenic: Support overriding PLLs M/N/OD calc algorithm 2021-06-27 19:49:18 -07:00
jz4725b-cgu.c clk: jz4725b: fix mmc0 clock gating 2022-02-17 17:05:07 -08:00
jz4740-cgu.c dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00
jz4760-cgu.c clk: ingenic: Add MDMA and BDMA clocks 2022-01-06 17:51:11 -08:00
jz4770-cgu.c clk: ingenic: Add MDMA and BDMA clocks 2022-01-06 17:51:11 -08:00
jz4780-cgu.c dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00
pm.c clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
pm.h clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
tcu.c clk: ingenic: Add support for the JZ4760 2021-06-27 19:49:18 -07:00
x1000-cgu.c dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00
x1830-cgu.c dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00