ASoC: mc13783: Drop fixed ADC & DAC ports usage
There are no users of this driver without pdata, so stop using constant assignment of ADC and DAC ports. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
0acb26a6c7
commit
295b84237b
|
@ -770,8 +770,7 @@ static int __init mc13783_codec_probe(struct platform_device *pdev)
|
|||
priv->adc_ssi_port = pdata->adc_ssi_port;
|
||||
priv->dac_ssi_port = pdata->dac_ssi_port;
|
||||
} else {
|
||||
priv->adc_ssi_port = MC13783_SSI1_PORT;
|
||||
priv->dac_ssi_port = MC13783_SSI2_PORT;
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
if (priv->adc_ssi_port == priv->dac_ssi_port)
|
||||
|
|
Loading…
Reference in New Issue