Return-path: Received: from smtp-vbr7.xs4all.nl ([194.109.24.27]:3017 "EHLO smtp-vbr7.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751394Ab3LSI4z (ORCPT ); Thu, 19 Dec 2013 03:56:55 -0500 Message-ID: <52B2B4B4.9030106@xs4all.nl> Date: Thu, 19 Dec 2013 09:56:20 +0100 From: Hans Verkuil MIME-Version: 1.0 To: Antti Palosaari CC: linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH RFC v4 7/7] v4l: add device capability flag for SDR receiver References: <1387425606-7458-1-git-send-email-crope@iki.fi> <1387425606-7458-8-git-send-email-crope@iki.fi> In-Reply-To: <1387425606-7458-8-git-send-email-crope@iki.fi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 12/19/2013 05:00 AM, Antti Palosaari wrote: > VIDIOC_QUERYCAP IOCTL is used to query device capabilities. Add new > capability flag to inform given device supports SDR capture. > Acked-by: Hans Verkuil Regards, Hans > Signed-off-by: Antti Palosaari > --- > include/uapi/linux/videodev2.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h > index c50e449..f596b7b 100644 > --- a/include/uapi/linux/videodev2.h > +++ b/include/uapi/linux/videodev2.h > @@ -267,6 +267,8 @@ struct v4l2_capability { > #define V4L2_CAP_RADIO 0x00040000 /* is a radio device */ > #define V4L2_CAP_MODULATOR 0x00080000 /* has a modulator */ > > +#define V4L2_CAP_SDR_CAPTURE 0x00100000 /* Is a SDR capture device */ > + > #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */ > #define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */ > #define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */ >