Commit 3a495ed7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab

[media] tuner-xc2028: fix "=" vs "==" typo

We intended to do a compare here, not an assignment.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1a17a942
...@@ -756,7 +756,7 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type, ...@@ -756,7 +756,7 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type,
* No need to reload base firmware if it matches and if the tuner * No need to reload base firmware if it matches and if the tuner
* is not at sleep mode * is not at sleep mode
*/ */
if ((priv->state = XC2028_ACTIVE) && if ((priv->state == XC2028_ACTIVE) &&
(((BASE | new_fw.type) & BASE_TYPES) == (((BASE | new_fw.type) & BASE_TYPES) ==
(priv->cur_fw.type & BASE_TYPES))) { (priv->cur_fw.type & BASE_TYPES))) {
tuner_dbg("BASE firmware not changed.\n"); tuner_dbg("BASE firmware not changed.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment