summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sti/hva
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-19 09:19:28 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 18:29:04 +0300
commit20d93338bf250f3f6adeb71cc234fca966ef51d7 (patch)
tree0d3b3f35d7ff675283ef4857e0dcd90f14a5060c /drivers/media/platform/sti/hva
parent29a8d9792514557e26a9b05deaf671f2d83fa8ec (diff)
downloadlinux-20d93338bf250f3f6adeb71cc234fca966ef51d7.tar.xz
[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 <colin.king@canonical.com> Acked-by: Jean-Christophe Trotin <jean-christophe.trotin@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/sti/hva')
-rw-r--r--drivers/media/platform/sti/hva/hva-hw.c2
1 files changed, 1 insertions, 1 deletions
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;