From be6b2176287ac8e63494f0c14b50ce3c979fbc91 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 14 Oct 2011 09:35:20 +0800 Subject: [PATCH] --- yaml --- r: 270869 b: refs/heads/master c: 524205ce7182986c1961cbecd32a87953d4e18c3 h: refs/heads/master i: 270867: 70fc167f40dd8e749e34057fabf6a9af4f2b0e34 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/alc5623.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c680585bb19b..a48dcfdfdbd0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f9dfbf91cbf9a8875e955350c957f84e13557634 +refs/heads/master: 524205ce7182986c1961cbecd32a87953d4e18c3 diff --git a/trunk/sound/soc/codecs/alc5623.c b/trunk/sound/soc/codecs/alc5623.c index 557b3af49b4c..984b14bcb605 100644 --- a/trunk/sound/soc/codecs/alc5623.c +++ b/trunk/sound/soc/codecs/alc5623.c @@ -53,8 +53,10 @@ static void alc5623_fill_cache(struct snd_soc_codec *codec) u16 *cache = codec->reg_cache; /* not really efficient ... */ + codec->cache_bypass = 1; for (i = 0 ; i < codec->driver->reg_cache_size ; i += step) - cache[i] = codec->hw_read(codec, i); + cache[i] = snd_soc_read(codec, i); + codec->cache_bypass = 0; } static inline int alc5623_reset(struct snd_soc_codec *codec)