[media] tuner-xc2028: fix "=" vs "==" typo
We intended to do a compare here, not an assignment. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
1a17a942cd
commit
3a495ed77a
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ retry:
|
|||
* No need to reload base firmware if it matches and if the tuner
|
||||
* is not at sleep mode
|
||||
*/
|
||||
if ((priv->state = XC2028_ACTIVE) &&
|
||||
if ((priv->state == XC2028_ACTIVE) &&
|
||||
(((BASE | new_fw.type) & BASE_TYPES) ==
|
||||
(priv->cur_fw.type & BASE_TYPES))) {
|
||||
tuner_dbg("BASE firmware not changed.\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue