projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a254dba
)
ALSA: sound/ppc/powermac: remove undefined operations
author
Andreas Schwab
<schwab@linux-m68k.org>
Sat, 11 Sep 2010 11:16:41 +0000
(13:16 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 14 Sep 2010 14:19:34 +0000
(16:19 +0200)
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>
sound/ppc/tumbler.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/ppc/tumbler.c
b/sound/ppc/tumbler.c
index 20afdf9772eefd1e23768e724ab06e0a919da260..961d982976958aaaf0c4dae4906210ad3df0bfb4 100644
(file)
--- a/
sound/ppc/tumbler.c
+++ b/
sound/ppc/tumbler.c
@@
-785,7
+785,7
@@
static int snapper_set_capture_source(struct pmac_tumbler *mix)
if (! mix->i2c.client)
return -ENODEV;
if (mix->capture_source)
- mix->acs
= mix->acs
|= 2;
+ mix->acs |= 2;
else
mix->acs &= ~2;
return i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs);