summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-05-12 13:50:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:54 -0700
commit315d7fa9d60fb402b1331fe5e83d9295f4c6cf0f (patch)
tree29208fea363b2b5b63405075ce5e8e3b6a6cceaa /drivers
parent385269885f156c76518748fcb215bd2ca81ef000 (diff)
staging: wis-sony-tuner.c: fix &&/|| error
Fix &&/|| typo Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/go7007/wis-sony-tuner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/go7007/wis-sony-tuner.c b/drivers/staging/go7007/wis-sony-tuner.c
index c965c601ac9..086896cec49 100644
--- a/drivers/staging/go7007/wis-sony-tuner.c
+++ b/drivers/staging/go7007/wis-sony-tuner.c
@@ -370,7 +370,7 @@ static int set_if(struct i2c_client *client)
i2c_transfer(client->adapter, &msg, 1);
/* Select MPX mode if not forced by the user */
- if (force_mpx_mode >= 0 || force_mpx_mode < MPX_NUM_MODES)
+ if (force_mpx_mode >= 0 && force_mpx_mode < MPX_NUM_MODES)
t->mpxmode = force_mpx_mode;
else
t->mpxmode = default_mpx_mode;