All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Jiang <scott.jiang.linux@gmail.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	linux-media@vger.kernel.org,
	uclinux-dist-devel@blackfin.uclinux.org
Subject: Re: [PATCH 4/4 v2][FOR 3.1] v4l2: add blackfin capture bridge driver
Date: Tue, 27 Sep 2011 18:00:03 +0800	[thread overview]
Message-ID: <CAHG8p1DO9qYf8rbToqFXZ=mpbksJHJbieZRVv9NbEQOz7iy98g@mail.gmail.com> (raw)
In-Reply-To: <201109271142.41309.hverkuil@xs4all.nl>

>
> What you would typically do in a case like this (if I understand it
> correctly) is that in the s_input ioctl you first select the input in the
> subdev, and then you can call the subdev to determine the standard and
> format and use that information to set up the bridge. This requires that
> the subdev is able to return a proper standard/format after an input
> change.
>
> By also selecting an initial input at driver load you will ensure that
> you always have a default std/fmt available from the very beginning.
>
The default input is 0. So you mean I ask the subdev std and fmt in
probe instead of open?

> It also looks like the s_input in the bridge driver allows for inputs that
> return a subdev format that can't be supported by the bridge. Is that correct?
> If so, then the board code should disallow such inputs. Frankly, that's a
> WARN_ON since that is something that is never supposed to happen.

  reply	other threads:[~2011-09-27 10:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 20:59 [PATCH 1/4 v2][FOR 3.1] v4l2: add vb2_get_unmapped_area in vb2 core Scott Jiang
2011-09-19 20:59 ` [PATCH 2/4 v2][FOR 3.1] v4l2: add adv7183 decoder driver Scott Jiang
2011-09-26 13:37   ` Hans Verkuil
2011-09-19 20:59 ` [PATCH 3/4 v2][FOR 3.1] v4l2: add vs6624 sensor driver Scott Jiang
2011-09-26 13:39   ` Hans Verkuil
2011-09-19 20:59 ` [PATCH 4/4 v2][FOR 3.1] v4l2: add blackfin capture bridge driver Scott Jiang
2011-09-26 14:09   ` Hans Verkuil
2011-09-27  8:23     ` Scott Jiang
2011-09-27  9:42       ` Hans Verkuil
2011-09-27 10:00         ` Scott Jiang [this message]
2011-09-27 10:18           ` Hans Verkuil
2011-09-30 15:07   ` Guennadi Liakhovetski

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='CAHG8p1DO9qYf8rbToqFXZ=mpbksJHJbieZRVv9NbEQOz7iy98g@mail.gmail.com' \
    --to=scott.jiang.linux@gmail.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.