diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-21 09:32:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 01:33:08 +0200 |
commit | 3a495ed77a2f582d860472cdfca815c1dc4a5d02 (patch) | |
tree | 9b9b780ace36da5f59fe3eaa055db7bc54eff320 /drivers/media | |
parent | [media] vivi: remove pointless video_nr++ (diff) | |
download | linux-3a495ed77a2f582d860472cdfca815c1dc4a5d02.tar.xz linux-3a495ed77a2f582d860472cdfca815c1dc4a5d02.zip |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index f88f948efee2..9e602856b2fa 100644 --- a/drivers/media/common/tuners/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c @@ -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"); |