public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Michael Krufky <mkrufky@linuxtv.org>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] [PATCH] DViCO FusionHDTV DVB-T Dual Digital 4 (rev	2)
Date: Wed, 6 Aug 2008 07:55:18 +1000	[thread overview]
Message-ID: <20080805215518.GB7314@kryten> (raw)
In-Reply-To: <37219a840808040935o3cf613bdvd644bb0e592c8430@mail.gmail.com>


Hi Mike,

Thanks for the review! I will incorporate your suggestions and get a new
patch out in a day or so.

> > Index: v4l-dvb/linux/drivers/media/dvb/frontends/dib7000p.c
> > ===================================================================
> > --- v4l-dvb.orig/linux/drivers/media/dvb/frontends/dib7000p.c   2008-08-04 18:10:30.000000000 +1000
> > +++ v4l-dvb/linux/drivers/media/dvb/frontends/dib7000p.c        2008-08-04 18:10:46.000000000 +1000
> > @@ -1359,7 +1359,8 @@
> >        /* Ensure the output mode remains at the previous default if it's
> >         * not specifically set by the caller.
> >         */
> > -       if (st->cfg.output_mode != OUTMODE_MPEG2_SERIAL)
> > +       if ((st->cfg.output_mode != OUTMODE_MPEG2_SERIAL) &&
> > +           (st->cfg.output_mode != OUTMODE_MPEG2_PAR_GATED_CLK))
> >                st->cfg.output_mode = OUTMODE_MPEG2_FIFO;
> 
> 
> 
> There doesnt look to be anything wrong with this, but I don't know
> very much about this -- why is this needed?  Have you tested on other
> devices that use dib7000p to confirm that it doesn't break anything?

This got introduced with the patch to allow the output mode to be
configured:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a38d6e37c0bc073bae5eff37c939978974ea9712

It looks to be making sure the patch didnt regress anything at the time.
Unfortunately it means we always set it to OUTMODE_MPEG2_FIFO. The patch
above just allows both OUTMODE_MPEG2_FIFO and
OUTMODE_MPEG2_PAR_GATED_CLK to be set.

We could shuffle the output modes around and make 0 the default
(OUTMODE_MPEG2_FIFO), or just go in and add initialise the output_mode
field in all dib7000p based drivers.

Anton

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-08-05 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 13:10 [linux-dvb] [PATCH] DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) Anton Blanchard
2008-08-04 16:35 ` Michael Krufky
2008-08-05 21:55   ` Anton Blanchard [this message]
2008-08-09  4:18   ` Anton Blanchard
2008-08-10 17:54     ` Michael Krufky
2008-08-10 23:40       ` Anton Blanchard

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=20080805215518.GB7314@kryten \
    --to=anton@samba.org \
    --cc=linux-dvb@linuxtv.org \
    --cc=mkrufky@linuxtv.org \
    /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