ASoC: Blackfin TDM: fix missed snd_soc_dai_get_drvdata update
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Jan 2011 04:08:19 +0000 (23:08 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 18 Jan 2011 19:01:57 +0000 (19:01 +0000)
One spot was missed in this driver when converting from
snd_soc_dai.private_data to snd_soc_dai_get_drvdata.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/blackfin/bf5xx-tdm.c

index 125123929f16c28d1e52ca01ebde662196f66253..b2cf239f20bcc7e89241172c42c79c94ceb7c6d2 100644 (file)
@@ -210,7 +210,7 @@ static int bf5xx_tdm_set_channel_map(struct snd_soc_dai *dai,
 #ifdef CONFIG_PM
 static int bf5xx_tdm_suspend(struct snd_soc_dai *dai)
 {
-       struct sport_device *sport = dai->private_data;
+       struct sport_device *sport = snd_soc_dai_get_drvdata(dai);
 
        if (!dai->active)
                return 0;