ASoC: codecs: disable supply after successful probe
Since clock stop mode is supported, disable mic bias supply after a successful dmic probe. Change-Id: I1a545969601367cc22844d1ab8467fb3722d882f Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user