mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
8c77cf26a8
We discoverd that the state of BCLK on, LRCLK off and SD_MODE on may cause the speaker melting issue. Removing LRCLK while BCLK is present can cause unexpected output behavior including a large DC output voltage as described in the Max98357a datasheet. In order to: 1. prevent BCLK from turning on by other component. 2. keep BCLK and LRCLK being present at the same time This patch switches BCLK to GPIO func before LRCLK output, and configures BCLK func back during LRCLK is output. Without this fix, BCLK is turned on 11 ms earlier than LRCK by the da7219. With this fix, BCLK is turned on only 0.4 ms earlier than LRCK by the rockchip codec. Signed-off-by: Judy Hsiao <judyhsiao@chromium.org> Reviewed-by: Brian Norris <briannorris@chromium.org> Link: https://lore.kernel.org/r/20220619095324.492678-2-judyhsiao@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rk3288_hdmi_analog.c | ||
rk3399_gru_sound.c | ||
rockchip_i2s_tdm.c | ||
rockchip_i2s_tdm.h | ||
rockchip_i2s.c | ||
rockchip_i2s.h | ||
rockchip_max98090.c | ||
rockchip_pdm.c | ||
rockchip_pdm.h | ||
rockchip_rt5645.c | ||
rockchip_spdif.c | ||
rockchip_spdif.h |