From: Mark Brown Date: Wed, 14 Dec 2011 03:20:42 +0000 (+0800) Subject: ASoC: Fix wm8995 regmap usage X-Git-Tag: v3.3-rc1~14^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f8d272a440ca7c61f5727300cbae642759d6765;p=profile%2Fcommon%2Fkernel-common.git ASoC: Fix wm8995 regmap usage Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 5863406..c8aada5 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c @@ -2051,6 +2051,7 @@ static int wm8995_probe(struct snd_soc_codec *codec) wm8995 = snd_soc_codec_get_drvdata(codec); wm8995->codec = codec; + codec->control_data = wm8995->regmap; ret = snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_REGMAP); if (ret < 0) { dev_err(codec->dev, "Failed to set cache i/o: %d\n", ret);