diff options
| author | Olof Johansson <olof@lixom.net> | 2011-12-15 22:02:34 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2011-12-15 22:02:34 -0800 | 
| commit | 02735a29d8ce882ec698803f064e17888874780c (patch) | |
| tree | 6a4afa3bc8b6d4334df24910a56f77adf126b0c7 /sound/soc/codecs/cs4271.c | |
| parent | 8d685b7f4d9c9882442bf1b492558d5f17b694fa (diff) | |
| parent | 3d911ad22e8405c1a333a6812e405cb1a5ae9829 (diff) | |
| download | olio-linux-3.10-02735a29d8ce882ec698803f064e17888874780c.tar.xz olio-linux-3.10-02735a29d8ce882ec698803f064e17888874780c.zip  | |
Merge branch 'at91/defconfig' into next/cleanup
Diffstat (limited to 'sound/soc/codecs/cs4271.c')
| -rw-r--r-- | sound/soc/codecs/cs4271.c | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c index 23d1bd5dadd..69fde1506fe 100644 --- a/sound/soc/codecs/cs4271.c +++ b/sound/soc/codecs/cs4271.c @@ -434,7 +434,8 @@ static int cs4271_soc_suspend(struct snd_soc_codec *codec, pm_message_t mesg)  {  	int ret;  	/* Set power-down bit */ -	ret = snd_soc_update_bits(codec, CS4271_MODE2, 0, CS4271_MODE2_PDN); +	ret = snd_soc_update_bits(codec, CS4271_MODE2, CS4271_MODE2_PDN, +				  CS4271_MODE2_PDN);  	if (ret < 0)  		return ret;  	return 0; @@ -501,8 +502,9 @@ static int cs4271_probe(struct snd_soc_codec *codec)  		return ret;  	} -	ret = snd_soc_update_bits(codec, CS4271_MODE2, 0, -		CS4271_MODE2_PDN | CS4271_MODE2_CPEN); +	ret = snd_soc_update_bits(codec, CS4271_MODE2, +				  CS4271_MODE2_PDN | CS4271_MODE2_CPEN, +				  CS4271_MODE2_PDN | CS4271_MODE2_CPEN);  	if (ret < 0)  		return ret;  	ret = snd_soc_update_bits(codec, CS4271_MODE2, CS4271_MODE2_PDN, 0);  |