public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Nasser <afshin.nasser@gmail.com>
Cc: p.zabel@pengutronix.de, sakari.ailus@linux.intel.com,
	hans.verkuil@cisco.com, bparrot@ti.com, garsilva@embeddedor.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: i2c: tvp5150: fix color burst lock instability on some hardware
Date: Thu, 29 Mar 2018 16:19:46 -0300	[thread overview]
Message-ID: <20180329161946.3a8cdd0d@recife.lan> (raw)
In-Reply-To: <20180329180757.GA27220@smart-ThinkPad-T410>

Em Thu, 29 Mar 2018 22:37:57 +0430
Nasser <afshin.nasser@gmail.com> escreveu:

> On Thu, Mar 29, 2018 at 12:02:40PM -0300, Mauro Carvalho Chehab wrote:
> > Em Thu, 29 Mar 2018 19:04:35 +0430
> > Nasser <afshin.nasser@gmail.com> escreveu:
> >   
> > > On Tue, Mar 27, 2018 at 02:59:21AM +0430, Nasser wrote:
> > > Hi Mauro,
> > > 
> > > Thank you for taking time to review my patch.
> > > 
> > > May be I should rephrase the commit message to something like:
> > > 	Use the default register values as suggested in TVP5150AM1 datasheet
> > > 
> > > As this is not a hardware-dependent issue. Am I missing something?  
> > 
> > It is not a matter of rephasing, but, instead, to be sure that it won't
> > cause regressions on existing hardware.
> > 
> > Yet, it would worth if you could describe at the patch what hardware
> > did you test it, and if VBI was tested too.
> >   
> 
> Does this means that I should resend the patch with this additional info?
> Sorry for not being clear about that. This was a custom board based on
> ARM. The VBI was not used.

That's what I suspected when you send your patch :-)

The tvp5150 is used by several USB and PCI devices for analog TV and
for video stream capture, with may have different requirements from what
you're doing on your ARM board.

Changing a register setting global wide without enough care will
very likely break support for existing boards.

That's why I said that the right thing to do is to pass a parameter to
the driver specifying what "extra" features are needed.

Without looking at tvp5150/tvp5151/tvp5150am datasheets nor testing,
I'd risk to say that, at the specific case of your patch, touching at
VBLK settings have a potential risk of affecting VBI handling.

> > Anyway, I'll try to find some time to run some tests on the hardware
> > I have with tvp5150 too.  
> 
> It sounds great.

Yes, but I won't be able to do it on the next couple of weeks. We're
approaching the merge window for Kernel 4.17.

Thanks,
Mauro

      reply	other threads:[~2018-03-29 19:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-25 22:56 [PATCH] media: i2c: tvp5150: fix color burst lock instability on some hardware Nasser Afshin
2018-03-26  9:43 ` Mauro Carvalho Chehab
2018-03-26 22:29   ` Nasser
2018-03-29 14:34     ` Nasser
2018-03-29 15:02       ` Mauro Carvalho Chehab
2018-03-29 18:07         ` Nasser
2018-03-29 19:19           ` Mauro Carvalho Chehab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180329161946.3a8cdd0d@recife.lan \
    --to=mchehab@kernel.org \
    --cc=afshin.nasser@gmail.com \
    --cc=bparrot@ti.com \
    --cc=garsilva@embeddedor.com \
    --cc=hans.verkuil@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox