From 099701e1e8c1fc1364fac1c78c5c1f5665d6b9bd Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 4 Jun 2009 09:58:18 +0200 Subject: [PATCH] --- yaml --- r: 148324 b: refs/heads/master c: d08664fdb50795b29cf70b0269ea02f7248e76c3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/twl4030.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a99ede81b1cd..f435d997d18b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f692fce0cf8625b6cc8678e802fb0e2e657b1ca6 +refs/heads/master: d08664fdb50795b29cf70b0269ea02f7248e76c3 diff --git a/trunk/sound/soc/codecs/twl4030.c b/trunk/sound/soc/codecs/twl4030.c index c53c7cabbd27..4dbb853eef5a 100644 --- a/trunk/sound/soc/codecs/twl4030.c +++ b/trunk/sound/soc/codecs/twl4030.c @@ -145,6 +145,7 @@ struct twl4030_priv { static inline unsigned int twl4030_read_reg_cache(struct snd_soc_codec *codec, unsigned int reg) { + u8 *cache = codec->reg_cache; if (reg >= TWL4030_CACHEREGNUM) return -EIO;