Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486171 > unrolled thread

[PATCH] [media] st-hva: fix a copy-and-paste variable name error

Started byColin King <colin.king@canonical.com>
First post2016-09-19 08:30 +0200
Last post2016-09-19 08:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] [media] st-hva: fix a copy-and-paste variable name error Colin King <colin.king@canonical.com> - 2016-09-19 08:30 +0200

#1486171 — [PATCH] [media] st-hva: fix a copy-and-paste variable name error

FromColin King <colin.king@canonical.com>
Date2016-09-19 08:30 +0200
Subject[PATCH] [media] st-hva: fix a copy-and-paste variable name error
Message-ID<sj0fv-1Rv-5@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

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 <colin.king@canonical.com>
---
 drivers/media/platform/sti/hva/hva-hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/sti/hva/hva-hw.c b/drivers/media/platform/sti/hva/hva-hw.c
index d341d49..dcf362c 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;
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web