From: Hans Verkuil <hverkuil@xs4all.nl>
To: Antti Palosaari <crope@iki.fi>, linux-media@vger.kernel.org
Subject: Re: [PATCH 3/4] airspy: print notice to point SDR API is not 100% stable yet
Date: Fri, 18 Jul 2014 07:15:04 +0200 [thread overview]
Message-ID: <53C8AD58.1000200@xs4all.nl> (raw)
In-Reply-To: <1405645513-25616-3-git-send-email-crope@iki.fi>
On 07/18/2014 03:05 AM, Antti Palosaari wrote:
> Print notice on driver load: "SDR API is still slightly
> experimental and functionality changes may follow". It is just
> remind possible used SDR API is very new and surprises may occur.
>
> Signed-off-by: Antti Palosaari <crope@iki.fi>
> ---
> drivers/media/usb/airspy/airspy.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c
> index 5b3310f..6cf09ef 100644
> --- a/drivers/media/usb/airspy/airspy.c
> +++ b/drivers/media/usb/airspy/airspy.c
> @@ -1086,7 +1086,9 @@ static int airspy_probe(struct usb_interface *intf,
> }
> dev_info(&s->udev->dev, "Registered as %s\n",
> video_device_node_name(&s->vdev));
> -
> + dev_notice(&s->udev->dev,
> + "%s: SDR API is still slightly experimental and functionality changes may follow\n",
> + KBUILD_MODNAME);
> return 0;
>
> err_free_controls:
>
On that topic: I would like to see a 'buffersize' or 'samples_per_buffer'
field in struct v4l2_sdr_format. That gives applications the opportunity
to 1) get the current buffer size and 2) be able to change it if the driver
supports that. E.g. for high sampling rates they might want to use larger
buffers, for low they might want to select smaller buffers.
Right now it is fixed and you won't know the buffer size until you do
QUERYBUF. Which is not in sync with what other formats do.
Regards,
Hans
next prev parent reply other threads:[~2014-07-18 5:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 1:05 [PATCH 1/4] airspy: remove v4l2-compliance workaround Antti Palosaari
2014-07-18 1:05 ` [PATCH 2/4] airspy: move out of staging into drivers/media/usb Antti Palosaari
2014-07-18 1:05 ` [PATCH 3/4] airspy: print notice to point SDR API is not 100% stable yet Antti Palosaari
2014-07-18 5:15 ` Hans Verkuil [this message]
2014-07-18 16:28 ` Antti Palosaari
2014-07-18 1:05 ` [PATCH 4/4] MAINTAINERS: add airspy driver Antti Palosaari
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=53C8AD58.1000200@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).