mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "ASoC: codecs: disable supply after successful probe"
This commit is contained in:
commit
12b0b549c4
1 changed files with 5 additions and 0 deletions
|
|
@ -496,6 +496,11 @@ static int swr_dmic_probe(struct swr_device *pdev)
|
|||
strlen(swr_dmic_name_prefix_of));
|
||||
component->name_prefix = prefix_name;
|
||||
|
||||
if (swr_dmic->is_en_supply == 1) {
|
||||
enable_wcd_codec_supply(swr_dmic, false);
|
||||
--swr_dmic->is_en_supply;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
dev_err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue