linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [media] st-hva: fix a copy-and-paste variable name error
@ 2016-09-19  6:19 Colin King
  2016-10-24  7:55 ` Jean Christophe TROTIN
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2016-09-19  6:19 UTC (permalink / raw)
  To: Jean-Christophe Trotin, Mauro Carvalho Chehab, linux-media; +Cc: linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [media] st-hva: fix a copy-and-paste variable name error
  2016-09-19  6:19 [PATCH] [media] st-hva: fix a copy-and-paste variable name error Colin King
@ 2016-10-24  7:55 ` Jean Christophe TROTIN
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Christophe TROTIN @ 2016-10-24  7:55 UTC (permalink / raw)
  To: Colin King, Mauro Carvalho Chehab, linux-media; +Cc: linux-kernel

Thanks (and sorry for the delay of my answer),

Acked-by: Jean-Christophe Trotin <jean-christophe.trotin@st.com>

On 09/19/2016 08:19 AM, Colin King wrote:
> 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;
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-24  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19  6:19 [PATCH] [media] st-hva: fix a copy-and-paste variable name error Colin King
2016-10-24  7:55 ` Jean Christophe TROTIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).