summaryrefslogtreecommitdiff
path: root/sound/oss/pas2_card.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-02-18 10:15:00 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-18 11:37:51 +0100
commitc16159123d5b3245e2b30023a207606c74032f9c (patch)
treecd39a60eeef05ca67fbabb8a5c219804abde6d26 /sound/oss/pas2_card.c
parentb22f5d94c432e97df8d85151fcf3da16cee75f04 (diff)
downloadlinux-stable-c16159123d5b3245e2b30023a207606c74032f9c.tar.gz
linux-stable-c16159123d5b3245e2b30023a207606c74032f9c.tar.bz2
linux-stable-c16159123d5b3245e2b30023a207606c74032f9c.zip
sound: OSS: missing parentheses in pas2_card.c
Add missing parentheses in pas2_card.c. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/pas2_card.c')
-rw-r--r--sound/oss/pas2_card.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/oss/pas2_card.c b/sound/oss/pas2_card.c
index 25f3a22c52ee..7f377ec3486d 100644
--- 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)
{