From: Mike Frysinger Date: Wed, 12 Jan 2011 04:08:19 +0000 (-0500) Subject: ASoC: Blackfin TDM: fix missed snd_soc_dai_get_drvdata update X-Git-Tag: v2.6.36.4~88 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f6507ad9cfb84ee92579115c6a5310164399906b;p=karo-tx-linux.git ASoC: Blackfin TDM: fix missed snd_soc_dai_get_drvdata update commit 15d2e22b820bad62854d6ad99d8af8320adf4a91 upstream. 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/blackfin/bf5xx-tdm.c b/sound/soc/blackfin/bf5xx-tdm.c index 24c14269f4bc..25037789ddb6 100644 --- a/sound/soc/blackfin/bf5xx-tdm.c +++ b/sound/soc/blackfin/bf5xx-tdm.c @@ -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;