diff options
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 7ca0b5268289..9c33fe874928 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/pm.h> | 19 | #include <linux/pm.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <sound/driver.h> | ||
23 | #include <sound/core.h> | 22 | #include <sound/core.h> |
24 | #include <sound/pcm.h> | 23 | #include <sound/pcm.h> |
25 | #include <sound/pcm_params.h> | 24 | #include <sound/pcm_params.h> |
@@ -562,13 +561,13 @@ static int wm8731_init(struct snd_soc_device *socdev) | |||
562 | 561 | ||
563 | /* set the update bits */ | 562 | /* set the update bits */ |
564 | reg = wm8731_read_reg_cache(codec, WM8731_LOUT1V); | 563 | reg = wm8731_read_reg_cache(codec, WM8731_LOUT1V); |
565 | wm8731_write(codec, WM8731_LOUT1V, reg | 0x0100); | 564 | wm8731_write(codec, WM8731_LOUT1V, reg & ~0x0100); |
566 | reg = wm8731_read_reg_cache(codec, WM8731_ROUT1V); | 565 | reg = wm8731_read_reg_cache(codec, WM8731_ROUT1V); |
567 | wm8731_write(codec, WM8731_ROUT1V, reg | 0x0100); | 566 | wm8731_write(codec, WM8731_ROUT1V, reg & ~0x0100); |
568 | reg = wm8731_read_reg_cache(codec, WM8731_LINVOL); | 567 | reg = wm8731_read_reg_cache(codec, WM8731_LINVOL); |
569 | wm8731_write(codec, WM8731_LINVOL, reg | 0x0100); | 568 | wm8731_write(codec, WM8731_LINVOL, reg & ~0x0100); |
570 | reg = wm8731_read_reg_cache(codec, WM8731_RINVOL); | 569 | reg = wm8731_read_reg_cache(codec, WM8731_RINVOL); |
571 | wm8731_write(codec, WM8731_RINVOL, reg | 0x0100); | 570 | wm8731_write(codec, WM8731_RINVOL, reg & ~0x0100); |
572 | 571 | ||
573 | wm8731_add_controls(codec); | 572 | wm8731_add_controls(codec); |
574 | wm8731_add_widgets(codec); | 573 | wm8731_add_widgets(codec); |