diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-09-11 07:16:41 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-14 10:19:34 -0400 |
commit | 7b6c3a34e93aafc5dd9adc7dee87c7fa61d8bdbb (patch) | |
tree | e103db6c648855a6d7ba81820c370a4a5dd63eff /sound/ppc | |
parent | a254dba37c5a372fc8b44ba29509ba052d4e859d (diff) |
ALSA: sound/ppc/powermac: remove undefined operations
Modifying an object twice without an intervening sequence point is
undefined.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc')
-rw-r--r-- | sound/ppc/tumbler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 20afdf9772ee..961d98297695 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c | |||
@@ -785,7 +785,7 @@ static int snapper_set_capture_source(struct pmac_tumbler *mix) | |||
785 | if (! mix->i2c.client) | 785 | if (! mix->i2c.client) |
786 | return -ENODEV; | 786 | return -ENODEV; |
787 | if (mix->capture_source) | 787 | if (mix->capture_source) |
788 | mix->acs = mix->acs |= 2; | 788 | mix->acs |= 2; |
789 | else | 789 | else |
790 | mix->acs &= ~2; | 790 | mix->acs &= ~2; |
791 | return i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs); | 791 | return i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs); |