Skip to content

Commit

Permalink
ASoC: atmel_ssc_dai: remove error set private data
Browse files Browse the repository at this point in the history
ssc private data has been set in ssc driver, this cause the error
private data set to ssc, remove it

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Bo Shen authored and Mark Brown committed Feb 4, 2013
1 parent d8976cf commit e08b273
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sound/soc/atmel/atmel_ssc_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,15 +677,6 @@ static int atmel_ssc_resume(struct snd_soc_dai *cpu_dai)
# define atmel_ssc_resume NULL
#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_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\
Expand All @@ -701,7 +692,6 @@ static const struct snd_soc_dai_ops atmel_ssc_dai_ops = {
};

static struct snd_soc_dai_driver atmel_ssc_dai = {
.probe = atmel_ssc_probe,
.suspend = atmel_ssc_suspend,
.resume = atmel_ssc_resume,
.playback = {
Expand Down

0 comments on commit e08b273

Please sign in to comment.