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-Url: https://git.stricted.de/?a=commitdiff_plain;h=20d93338bf250f3f6adeb71cc234fca966ef51d7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 cf2a8d884536..68d625b412b6 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;