From: Colin Ian King Date: Mon, 19 Sep 2016 06:19:28 +0000 (-0300) Subject: [media] st-hva: fix a copy-and-paste variable name error X-Git-Tag: v4.11-rc2~21^2~515 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20d93338bf250f3f6adeb71cc234fca966ef51d7;p=platform%2Fkernel%2Flinux-exynos.git [media] st-hva: fix a copy-and-paste variable name error The second check for an error on hva->lmi_err_reg appears to be a copy-and-paste error, it should be hva->emi_err_reg instead. Signed-off-by: Colin Ian King Acked-by: Jean-Christophe Trotin Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/sti/hva/hva-hw.c b/drivers/media/platform/sti/hva/hva-hw.c index cf2a8d8..68d625b 100644 --- a/drivers/media/platform/sti/hva/hva-hw.c +++ b/drivers/media/platform/sti/hva/hva-hw.c @@ -245,7 +245,7 @@ static irqreturn_t hva_hw_err_irq_thread(int irq, void *arg) ctx->hw_err = true; } - if (hva->lmi_err_reg) { + if (hva->emi_err_reg) { dev_err(dev, "%s external memory interface error: 0x%08x\n", ctx->name, hva->emi_err_reg); ctx->hw_err = true;