Commit e08b273c authored by Bo Shen's avatar Bo Shen Committed by Mark Brown

ASoC: atmel_ssc_dai: remove error set private data

ssc private data has been set in ssc driver, this cause the error
private data set to ssc, remove it
Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent d8976cfd
...@@ -677,15 +677,6 @@ static int atmel_ssc_resume(struct snd_soc_dai *cpu_dai) ...@@ -677,15 +677,6 @@ static int atmel_ssc_resume(struct snd_soc_dai *cpu_dai)
# define atmel_ssc_resume NULL # define atmel_ssc_resume NULL
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
static int atmel_ssc_probe(struct snd_soc_dai *dai)
{
struct atmel_ssc_info *ssc_p = &ssc_info[dai->id];
snd_soc_dai_set_drvdata(dai, ssc_p);
return 0;
}
#define ATMEL_SSC_RATES (SNDRV_PCM_RATE_8000_96000) #define ATMEL_SSC_RATES (SNDRV_PCM_RATE_8000_96000)
#define ATMEL_SSC_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\ #define ATMEL_SSC_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\
...@@ -701,7 +692,6 @@ static const struct snd_soc_dai_ops atmel_ssc_dai_ops = { ...@@ -701,7 +692,6 @@ static const struct snd_soc_dai_ops atmel_ssc_dai_ops = {
}; };
static struct snd_soc_dai_driver atmel_ssc_dai = { static struct snd_soc_dai_driver atmel_ssc_dai = {
.probe = atmel_ssc_probe,
.suspend = atmel_ssc_suspend, .suspend = atmel_ssc_suspend,
.resume = atmel_ssc_resume, .resume = atmel_ssc_resume,
.playback = { .playback = {
......
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