From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Robert Fitzsimons <robfitz@273k.net>
Cc: video4linux-list@redhat.com, linux-kernel@vger.kernel.org,
Bongani Hlope <bonganilinux@mweb.co.za>
Subject: Re: [PATCH] bttv: Re-enabling radio support requires the use of struct bttv_fh.
Date: Wed, 27 Feb 2008 06:52:51 -0300 [thread overview]
Message-ID: <20080227065251.3b2e4516@areia> (raw)
In-Reply-To: <20080227014729.GC2685@localhost>
On Wed, 27 Feb 2008 01:47:29 +0000
Robert Fitzsimons <robfitz@273k.net> wrote:
> A number of the radio tuner ioctl functions are shared with the TV
> tuner, these functions require a struct bttv_fh data structure to be
> allocated and initialized.
>
> Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
> ---
> drivers/media/video/bt8xx/bttv-driver.c | 21 ++++++++++++++++-----
> 1 files changed, 16 insertions(+), 5 deletions(-)
>
>
> Mauro, the radio_open function may want to do more initialisation then
> the amount I copied from bttv_open.
Maybe, but the proper way would be to use just one open for both radio and
video, like cx88. This driver violates V4L2 API, since the spec says that
opening /dev/radio will select radio, by default, but it is possible to listen
video also on that interface (the opposite is valid also for /dev/video).
I'll apply the fixes, for now. The better would be if you could try to use the
same approach present on cx88.
Cheers,
Mauro
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-02-27 9:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200802171036.19619.bonganilinux@mweb.co.za>
2008-02-18 16:11 ` 2.6.25-rc[12] Video4Linux Bttv Regression Mauro Carvalho Chehab
[not found] ` <200802182320.40732.bonganilinux@mweb.co.za>
[not found] ` <200802190121.36280.bonganilinux@mweb.co.za>
2008-02-19 14:16 ` Mauro Carvalho Chehab
2008-02-26 15:41 ` Robert Fitzsimons
2008-02-27 1:42 ` Robert Fitzsimons
2008-02-27 1:44 ` [PATCH] bttv: Re-enable radio tuner support for VIDIOCGFREQ/VIDIOCSFREQ ioctls Robert Fitzsimons
2008-02-27 1:47 ` [PATCH] bttv: Re-enabling radio support requires the use of struct bttv_fh Robert Fitzsimons
2008-02-27 9:52 ` Mauro Carvalho Chehab [this message]
[not found] ` <200802272345.43209.bonganilinux@mweb.co.za>
2008-02-28 9:25 ` Robert Fitzsimons
[not found] ` <200803172351.56717.bonganilinux@mweb.co.za>
2008-03-20 17:22 ` 2.6.25-rc[12] Video4Linux Bttv Regression Mauro Carvalho Chehab
[not found] ` <200803211655.31085.bonganilinux@mweb.co.za>
2008-03-22 0:05 ` [PATCH] bttv: Add a radio compat_ioctl file operation Robert Fitzsimons
[not found] ` <200803222017.40862.bonganilinux@mweb.co.za>
2008-03-23 1:01 ` Mauro Carvalho Chehab
[not found] ` <200803231525.22278.bonganilinux@mweb.co.za>
2008-03-23 13:50 ` Mauro Carvalho Chehab
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=20080227065251.3b2e4516@areia \
--to=mchehab@infradead.org \
--cc=bonganilinux@mweb.co.za \
--cc=linux-kernel@vger.kernel.org \
--cc=robfitz@273k.net \
--cc=video4linux-list@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