diff options
Diffstat (limited to 'sound/soc/codecs/wm8728.c')
-rw-r--r-- | sound/soc/codecs/wm8728.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c index 5e5a1625194c..32eba85b0a2c 100644 --- a/sound/soc/codecs/wm8728.c +++ b/sound/soc/codecs/wm8728.c | |||
@@ -272,7 +272,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8728 = { | |||
272 | .suspend = wm8728_suspend, | 272 | .suspend = wm8728_suspend, |
273 | .resume = wm8728_resume, | 273 | .resume = wm8728_resume, |
274 | .set_bias_level = wm8728_set_bias_level, | 274 | .set_bias_level = wm8728_set_bias_level, |
275 | .reg_cache_size = sizeof(wm8728_reg_defaults), | 275 | .reg_cache_size = ARRAY_SIZE(wm8728_reg_defaults), |
276 | .reg_word_size = sizeof(u16), | 276 | .reg_word_size = sizeof(u16), |
277 | .reg_cache_default = wm8728_reg_defaults, | 277 | .reg_cache_default = wm8728_reg_defaults, |
278 | }; | 278 | }; |