public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Lawrence Rust <lawrence@softsystem.co.uk>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Andy Walls <awalls@md.metrocast.net>,
	Eric Sharkey <eric@lisaneric.org>, auric <auric@aanet.com.au>,
	David Gesswein <djg@pdp8online.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	linux-media@vger.kernel.org, ivtv-users@ivtvdriver.org,
	ivtv-devel@ivtvdriver.org
Subject: Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864
Date: Thu, 03 Feb 2011 13:51:46 +0100	[thread overview]
Message-ID: <1296737506.11582.14.camel@gagarin> (raw)
In-Reply-To: <4D482B93.7010602@redhat.com>

On Tue, 2011-02-01 at 13:49 -0200, Mauro Carvalho Chehab wrote:
> Hi Lawrence,
> 
> Em 08-01-2011 16:45, Lawrence Rust escreveu:
> > Thanks for the info on the PVR-150.  It largely confirmed what I had
> > surmised - that the two cards disagree about serial audio data format.
> > Before my patch, the wm8775 was programmed for Philips mode but the
> > CX25843 on the PVR-150 is setup for Sony I2S mode!!  On the Nova-S, the
> > cx23883 is setup (in cx88-tvaudio.c) for Philips mode.  The patch
> > changed the wm8775 to Sony I2S mode because the existing setup gave
> > noise, indicative of a mismatch.
> > 
> > It is my belief that either the wm8775 datasheet is wrong or there are
> > inverters on the SCLK lines between the wm8775 and cx25843/23883. It is
> > also plausible that Conexant have it wrong and both their datasheets are
> > wrong.
> > 
> > Anyway, I have revised the patch (attached) so that the wm8775 is kept
> > in Philips mode (to please the PVR-150) and the cx23883 on the Nove-S is
> > now switched to Sony I2S mode (like the PVR-150) and this works fine.
> > The change is trivial, just 2 lines, so they're shouldn't be any other
> > consequences.  However, could this affect any other cards? 
> > 
> > NB I have only tested this patch on my Nova-S, no other.
> 
> As it was pointed, your patch affects other boards with wm8775. In order
> to avoid it, you need to use platform_data to pass nova_s specific parameters,
> and be sure that other boards won't be affected by your changes.
> 
> As you might not be able to see how this should be written, I modified your
> patch in a way that, hopefully, it won't affect PVR-150. Please test.

Many thanks for doing this.  I appreciate the guidance and effort.  I'll
test it and report back this weekend.

-- Lawrence



  parent reply	other threads:[~2011-02-03 12:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-01  0:55 [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864 Andy Walls
2011-01-03  4:00 ` Eric Sharkey
2011-01-03 22:34   ` Andy Walls
2011-01-04  7:10     ` Hans Verkuil
2011-01-04 13:09       ` Andy Walls
2011-01-08 12:09     ` Lawrence Rust
2011-01-08 14:22       ` Andy Walls
2011-01-08 18:45         ` Lawrence Rust
2011-01-10 12:39           ` Andy Walls
2011-01-10 12:56             ` Lawrence Rust
2011-01-10 13:24               ` Andy Walls
2011-02-01 15:49           ` Mauro Carvalho Chehab
2011-02-02 23:52             ` Andy Walls
2011-02-03 12:51             ` Lawrence Rust [this message]
2011-02-05 17:56             ` Lawrence Rust
2011-02-06 20:46             ` Andy Walls

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=1296737506.11582.14.camel@gagarin \
    --to=lawrence@softsystem.co.uk \
    --cc=auric@aanet.com.au \
    --cc=awalls@md.metrocast.net \
    --cc=djg@pdp8online.com \
    --cc=eric@lisaneric.org \
    --cc=hverkuil@xs4all.nl \
    --cc=ivtv-devel@ivtvdriver.org \
    --cc=ivtv-users@ivtvdriver.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.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