Răsfoiți Sursa

ASoC: codecs: add device down ops for swr dmic

When SSR/PDR occurs during record usecase, swr dmic's need
to be shutdown before WCD938x is set to reset low, since swr dmic's
depend on WCD938x for mic bias.
The swr dmic's are shutdown from sound wire master
control during SSR/PDR via driver ops, before WCD938x is shutdown.

Change-Id: I987833b7f44692ff4c91954d65623a17f6b0abdc
Signed-off-by: Vignesh Kulothungan <[email protected]>
Vignesh Kulothungan 5 ani în urmă
părinte
comite
7da74cbc8a
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      asoc/codecs/swr-dmic.c

+ 1 - 0
asoc/codecs/swr-dmic.c

@@ -706,6 +706,7 @@ static struct swr_driver swr_dmic_driver = {
 	.probe = swr_dmic_probe,
 	.remove = swr_dmic_remove,
 	.id_table = swr_dmic_id,
+	.device_down = swr_dmic_down,
 };
 
 static int __init swr_dmic_init(void)