Commit 295b8423 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Mark Brown

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: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 0acb26a6
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment