From: Takashi Iwai Date: Fri, 28 Jun 2013 11:36:22 +0000 (+0200) Subject: Merge tag 'asoc-v3.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie... X-Git-Tag: upstream/snapshot3+hdmi~4712^2~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=accaf69da1d1e64bd77ac0caad77e4cfc3b654c7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Merge tag 'asoc-v3.11-2' of git://git./linux/kernel/git/broonie/sound into for-next ASoC: More updates for v3.11 Some more fixes and enhancements, and also a bunch of refectoring for AC'97 support which enables more than one AC'97 controller driver to be built in. --- accaf69da1d1e64bd77ac0caad77e4cfc3b654c7 diff --cc sound/soc/cirrus/ep93xx-ac97.c index 3f4f888,4bc9490..ac73c60 --- a/sound/soc/cirrus/ep93xx-ac97.c +++ b/sound/soc/cirrus/ep93xx-ac97.c @@@ -397,8 -406,9 +400,8 @@@ static int ep93xx_ac97_probe(struct pla return 0; fail: - platform_set_drvdata(pdev, NULL); ep93xx_ac97_info = NULL; - dev_set_drvdata(&pdev->dev, NULL); + snd_soc_set_ac97_ops(NULL); return ret; } @@@ -411,8 -421,10 +414,9 @@@ static int ep93xx_ac97_remove(struct pl /* disable the AC97 controller */ ep93xx_ac97_write_reg(info, AC97GCR, 0); - platform_set_drvdata(pdev, NULL); ep93xx_ac97_info = NULL; - dev_set_drvdata(&pdev->dev, NULL); + + snd_soc_set_ac97_ops(NULL); return 0; }