diff options
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 4065d4e84ea3..fc7fff3604f7 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -143,7 +143,7 @@ static ssize_t soc_codec_reg_show(struct snd_soc_codec *codec, char *buf, | |||
143 | step = codec->driver->reg_cache_step; | 143 | step = codec->driver->reg_cache_step; |
144 | 144 | ||
145 | for (i = 0; i < codec->driver->reg_cache_size; i += step) { | 145 | for (i = 0; i < codec->driver->reg_cache_size; i += step) { |
146 | if (codec->readable_register && !codec->readable_register(codec, i)) | 146 | if (!snd_soc_codec_readable_register(codec, i)) |
147 | continue; | 147 | continue; |
148 | if (codec->driver->display_register) { | 148 | if (codec->driver->display_register) { |
149 | count += codec->driver->display_register(codec, buf + count, | 149 | count += codec->driver->display_register(codec, buf + count, |