提交 315d7fa9 编写于 作者: R Roel Kluin 提交者: Greg Kroah-Hartman

staging: wis-sony-tuner.c: fix &&/|| error

Fix &&/|| typo
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 38526988
...@@ -370,7 +370,7 @@ static int set_if(struct i2c_client *client) ...@@ -370,7 +370,7 @@ static int set_if(struct i2c_client *client)
i2c_transfer(client->adapter, &msg, 1); i2c_transfer(client->adapter, &msg, 1);
/* Select MPX mode if not forced by the user */ /* 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; t->mpxmode = force_mpx_mode;
else else
t->mpxmode = default_mpx_mode; t->mpxmode = default_mpx_mode;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册