aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAlexander Shiyan2014-01-05 11:38:33 +0400
committerMark Brown2014-01-06 15:37:43 +0000
commit295b84237b4ec2e1f148c8f6d7f59a7d06fda624 (patch)
tree1ab8a10e2a06091d2263236bef74ab2546080eba /sound
parent0acb26a6c716ef2f8ab550475c5da4d187995cca (diff)
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/mc13783.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c
index c2def5d188ee..997f708afc79 100644
--- a/sound/soc/codecs/mc13783.c
+++ b/sound/soc/codecs/mc13783.c
@@ -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)