X-Git-Url: https://nv-tegra.nvidia.com/r/gitweb?p=linux-2.6.git;a=blobdiff_plain;f=sound%2Fsoc%2Fcodecs%2Ftwl4030.c;h=4dbb853eef5ad056fec1e6cca89f0becbe579251;hp=c53c7cabbd2739a31723b7b986e8db6eb5504999;hb=d08664fdb50795b29cf70b0269ea02f7248e76c3;hpb=f692fce0cf8625b6cc8678e802fb0e2e657b1ca6 diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index c53c7cabbd2..4dbb853eef5 100644 --- a/sound/soc/codecs/twl4030.c +++ b/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;