mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
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>
This commit is contained in:
parent
385269885f
commit
315d7fa9d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user