diff options
Diffstat (limited to 'sound/soc/soc-cache.c')
-rw-r--r-- | sound/soc/soc-cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c index bfed3e4c45ff..3fa77d5f9b75 100644 --- a/sound/soc/soc-cache.c +++ b/sound/soc/soc-cache.c | |||
@@ -162,8 +162,6 @@ static int snd_soc_flat_cache_sync(struct snd_soc_codec *codec) | |||
162 | i, codec_drv->reg_word_size) == val) | 162 | i, codec_drv->reg_word_size) == val) |
163 | continue; | 163 | continue; |
164 | 164 | ||
165 | WARN_ON(!snd_soc_codec_writable_register(codec, i)); | ||
166 | |||
167 | ret = snd_soc_write(codec, i, val); | 165 | ret = snd_soc_write(codec, i, val); |
168 | if (ret) | 166 | if (ret) |
169 | return ret; | 167 | return ret; |