diff options
-rw-r--r-- | sound/soc/codecs/wm8750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c index 7073e8e294fc..28684eeda738 100644 --- a/sound/soc/codecs/wm8750.c +++ b/sound/soc/codecs/wm8750.c | |||
@@ -808,7 +808,7 @@ static int wm8750_init(struct snd_soc_device *socdev) | |||
808 | codec->dai = &wm8750_dai; | 808 | codec->dai = &wm8750_dai; |
809 | codec->num_dai = 1; | 809 | codec->num_dai = 1; |
810 | codec->reg_cache_size = sizeof(wm8750_reg); | 810 | codec->reg_cache_size = sizeof(wm8750_reg); |
811 | codec->reg_cache = kmemdup(wm8750_reg, sizeof(wm8750_reg), GFP_KRENEL); | 811 | codec->reg_cache = kmemdup(wm8750_reg, sizeof(wm8750_reg), GFP_KERNEL); |
812 | if (codec->reg_cache == NULL) | 812 | if (codec->reg_cache == NULL) |
813 | return -ENOMEM; | 813 | return -ENOMEM; |
814 | 814 | ||