ASoC: wcd9xxx: Add gpio control for micbias-supply for SXR1120
SXR1120 has additional gpio for micbias supply to be enabled. Add control for this gpio and enable it. Change-Id: Ica4ea9765db9bd48a1f8eb010d82d2687c8abbb9 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Este cometimento está contido em:
@@ -1289,6 +1289,9 @@ static int wcd9xxx_slim_probe(struct slim_device *slim)
|
||||
if (pdata->has_buck_vsel_gpio)
|
||||
msm_cdc_pinctrl_select_active_state(pdata->buck_vsel_ctl_np);
|
||||
|
||||
if (pdata->has_micb_supply_en_gpio)
|
||||
msm_cdc_pinctrl_select_active_state(pdata->micb_en_ctl);
|
||||
|
||||
device_id = slim_get_device_id(slim);
|
||||
if (!device_id) {
|
||||
dev_err(&slim->dev, "%s: Error, no device id\n", __func__);
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador