projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3852698
)
staging: wis-sony-tuner.c: fix &&/|| error
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 12 May 2009 20:50:24 +0000
(13:50 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:54 +0000
(11:00 -0700)
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>
drivers/staging/go7007/wis-sony-tuner.c
patch
|
blob
|
history
diff --git
a/drivers/staging/go7007/wis-sony-tuner.c
b/drivers/staging/go7007/wis-sony-tuner.c
index c965c601ac9088e568f6cdff32c365508de31c0d..086896cec49be78c9628302de14a8e0fba6732f6 100644
(file)
--- 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;