projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22f5d9
)
sound: OSS: missing parentheses in pas2_card.c
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 18 Feb 2009 09:15:00 +0000
(10:15 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 18 Feb 2009 10:37:51 +0000
(11:37 +0100)
Add missing parentheses in pas2_card.c.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/pas2_card.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/oss/pas2_card.c
b/sound/oss/pas2_card.c
index 25f3a22c52ee0891fbc5ceeee6ea47a12fc5ee14..7f377ec3486d9f822c14fe2c77fb35d85f49cfd2 100644
(file)
--- a/
sound/oss/pas2_card.c
+++ b/
sound/oss/pas2_card.c
@@
-156,9
+156,7
@@
static int __init config_pas_hw(struct address_info *hw_config)
* 0x80
*/ , 0xB88);
- pas_write(0x80
- | joystick?0x40:0
- ,0xF388);
+ pas_write(0x80 | (joystick ? 0x40 : 0), 0xF388);
if (pas_irq < 0 || pas_irq > 15)
{