mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
Exercise codec reset as part of ADSP subsystem restart handling and also update codec and ASoC cache registers to defaults. This is required to clean up codec state post ADSP restart. Add flag to avoid codec reset during device bootup. If the software workaround to prevent leakage on the spkdrv is enabled, handle the workaround post subsystem restart by turning on PA and bandgap again. Change-Id: Ieb7f9892b45bc01f0e2ea38485c4f63298f83999 Signed-off-by: Ravishankar Sarawadi <crsaraw@codeaurora.org>