From: Dan Carpenter Date: Sat, 21 Jul 2012 07:32:38 +0000 (-0300) Subject: [media] tuner-xc2028: fix "=" vs "==" typo X-Git-Tag: staging/for_v3.6~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a495ed77a2f582d860472cdfca815c1dc4a5d02;p=profile%2Fivi%2Fkernel-x86-ivi.git [media] tuner-xc2028: fix "=" vs "==" typo We intended to do a compare here, not an assignment. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index f88f948..9e60285 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");