From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Mauro Carvalho Chehab" <mchehab@infradead.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Kconfig for radio cards to allow VIDEO_V4L1_COMPAT
Date: Mon, 26 Jun 2006 11:55:18 -0400 [thread overview]
Message-ID: <9e4733910606260855kf2e57ado5c69d8295d1be5@mail.gmail.com> (raw)
In-Reply-To: <1151327213.3687.13.camel@praia>
On 6/26/06, Mauro Carvalho Chehab <mchehab@infradead.org> wrote:
> Jon,
>
> Em Dom, 2006-06-25 às 13:40 -0400, Jon Smirl escreveu:
> > In Kconfig all of the radio cards depend on VIDEO_V4L1. But V4L1 has
> > been deprecated and replaced with V4L2. V4L2 offers a V4L1
> > compatibility layer. Should the Kconfig for these devices be changed
> > to depend on (VIDEO_V4L1. || VIDEO_V4L1_COMPAT)? I'm not the
> > maintainer for this but they seem to build ok.
> No, it isn't. V4L1_COMPAT gets a userspace request, using the obsoleted
> V4L1 API and converts into a V4L2 call to be handled by a V4L2 driver.
>
> All radio stuff at kernel are still using the old obsoleted V4L1 API,
> and requires some changes to be V4L2 compliant. The correct fix is to
> replace the old calls to V4L2 calls, and include videodev2.h header
> instead of videodev.h.
Is anyone who knows how V4L2 works going to port those drivers? I
would hate to see 20 device drivers lost because they weren't ported
and V4L1 gets removed.
> After those changes, we should move the dependencies to be VIDEO_V4L2,
> instead of VIDEO_V4L1.
>
> Cheers,
> Mauro.
>
>
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2006-06-26 15:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-25 17:40 [PATCH] Kconfig for radio cards to allow VIDEO_V4L1_COMPAT Jon Smirl
2006-06-25 18:21 ` Sam Ravnborg
2006-06-25 19:48 ` Jon Smirl
2006-06-26 13:06 ` Mauro Carvalho Chehab
2006-06-26 15:55 ` Jon Smirl [this message]
2006-06-26 16:58 ` Mauro Carvalho Chehab
2006-06-26 17:15 ` Jon Smirl
2006-06-26 19:00 ` Mauro Carvalho Chehab
2006-07-30 23:40 ` Alan Cox
2006-07-31 21:28 ` Mauro Carvalho Chehab
2006-07-31 23:36 ` Alan Cox
2006-08-01 15:46 ` PATCH: Convert usb fm radio to V4L2 and move to the right directory Alan Cox
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=9e4733910606260855kf2e57ado5c69d8295d1be5@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@infradead.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