diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-01-05 02:38:33 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-06 10:37:43 -0500 |
commit | 295b84237b4ec2e1f148c8f6d7f59a7d06fda624 (patch) | |
tree | 1ab8a10e2a06091d2263236bef74ab2546080eba /sound/soc | |
parent | 0acb26a6c716ef2f8ab550475c5da4d187995cca (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/soc')
-rw-r--r-- | sound/soc/codecs/mc13783.c | 3 |
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) | |||
770 | priv->adc_ssi_port = pdata->adc_ssi_port; | 770 | priv->adc_ssi_port = pdata->adc_ssi_port; |
771 | priv->dac_ssi_port = pdata->dac_ssi_port; | 771 | priv->dac_ssi_port = pdata->dac_ssi_port; |
772 | } else { | 772 | } else { |
773 | priv->adc_ssi_port = MC13783_SSI1_PORT; | 773 | return -ENOSYS; |
774 | priv->dac_ssi_port = MC13783_SSI2_PORT; | ||
775 | } | 774 | } |
776 | 775 | ||
777 | if (priv->adc_ssi_port == priv->dac_ssi_port) | 776 | if (priv->adc_ssi_port == priv->dac_ssi_port) |