diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-13 00:50:24 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 22:00:54 +0400 |
commit | 315d7fa9d60fb402b1331fe5e83d9295f4c6cf0f (patch) | |
tree | 29208fea363b2b5b63405075ce5e8e3b6a6cceaa /drivers | |
parent | 385269885f156c76518748fcb215bd2ca81ef000 (diff) | |
download | linux-315d7fa9d60fb402b1331fe5e83d9295f4c6cf0f.tar.xz |
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.c | 2 |
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 c965c601ac90..086896cec49b 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; |