[alsa-devel] [PATCH] ASoC: Blackfin TDM: fix missed snd_soc_dai_get_drvdata update

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jan 13 14:55:25 CET 2011


On Tue, Jan 11, 2011 at 11:08:19PM -0500, Mike Frysinger wrote:
> 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 at gentoo.org>

Ccing in Liam - Mike, please remember to CC maintainers on patches - and
dropping the stable lists for now.


> ---
>  sound/soc/blackfin/bf5xx-tdm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/blackfin/bf5xx-tdm.c b/sound/soc/blackfin/bf5xx-tdm.c
> index 1251239..b2cf239 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;
> -- 
> 1.7.4.rc1
> 


More information about the Alsa-devel mailing list