public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Walls <awalls@md.metrocast.net>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>,
	linux-media@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: Re: [RFCv2 PATCH 15/15] cx18: convert to unlocked_ioctl.
Date: Tue, 16 Nov 2010 17:35:24 -0500	[thread overview]
Message-ID: <1289946924.9534.20.camel@morgan.silverblock.net> (raw)
In-Reply-To: <0819999d64a0e2c9b092c60602d32e2d7ab7ad25.1289944160.git.hverkuil@xs4all.nl>

On Tue, 2010-11-16 at 22:56 +0100, Hans Verkuil wrote:
> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
> ---
>  drivers/media/video/cx18/cx18-streams.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c
> index 9045f1e..ab461e2 100644
> --- a/drivers/media/video/cx18/cx18-streams.c
> +++ b/drivers/media/video/cx18/cx18-streams.c
> @@ -41,7 +41,7 @@ static struct v4l2_file_operations cx18_v4l2_enc_fops = {
>  	.read = cx18_v4l2_read,
>  	.open = cx18_v4l2_open,
>  	/* FIXME change to video_ioctl2 if serialization lock can be removed */
> -	.ioctl = cx18_v4l2_ioctl,
> +	.unlocked_ioctl = cx18_v4l2_ioctl,
>  	.release = cx18_v4l2_close,
>  	.poll = cx18_v4l2_enc_poll,
>  };

Hans,

Because I haven't done my homework on the ALSA API, could you also add
snd_cx18_lock()/snd_cx18_unlock() in snd_cx18_pcm_ioctl()?

Devin,

Do you know off the top of your head if any other operations in
cx18-alsa-* may need additional locking?

I am an ALSA API callback idiot. :)

Regards,
Andy





      reply	other threads:[~2010-11-16 22:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 21:55 [RFCv2 PATCH 00/15] BKL removal Hans Verkuil
2010-11-16 21:55 ` [RFCv2 PATCH 01/15] v4l2-dev: use mutex_lock_interruptible instead of plain mutex_lock Hans Verkuil
2010-11-17  8:23   ` Arnd Bergmann
2010-11-16 21:55 ` [RFCv2 PATCH 02/15] BKL: trivial BKL removal from V4L2 radio drivers Hans Verkuil
2010-11-16 21:55 ` [RFCv2 PATCH 03/15] cadet: use unlocked_ioctl Hans Verkuil
2010-11-16 21:55 ` [RFCv2 PATCH 04/15] tea5764: convert to unlocked_ioctl Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 05/15] si4713: " Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 06/15] typhoon: " Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 07/15] dsbr100: " Hans Verkuil
2010-11-18 14:40   ` David Ellingsworth
2010-11-18 14:46     ` Hans Verkuil
2010-11-18 15:10       ` David Ellingsworth
2010-11-18 15:29         ` Hans Verkuil
2010-11-18 15:58           ` David Ellingsworth
2010-11-16 21:56 ` [RFCv2 PATCH 08/15] BKL: trivial ioctl -> unlocked_ioctl video driver conversions Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 09/15] sn9c102: convert to unlocked_ioctl Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 10/15] et61x251_core: trivial conversion " Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 11/15] cafe_ccic: replace ioctl by unlocked_ioctl Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 12/15] sh_vou: convert to unlocked_ioctl Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 13/15] radio-timb: " Hans Verkuil
2010-11-16 21:56 ` [RFCv2 PATCH 14/15] V4L: improve the BKL replacement heuristic Hans Verkuil
2010-11-17  8:23   ` Arnd Bergmann
2010-11-16 21:56 ` [RFCv2 PATCH 15/15] cx18: convert to unlocked_ioctl Hans Verkuil
2010-11-16 22:35   ` Andy Walls [this message]

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=1289946924.9534.20.camel@morgan.silverblock.net \
    --to=awalls@md.metrocast.net \
    --cc=arnd@arndb.de \
    --cc=dheitmueller@kernellabs.com \
    --cc=hverkuil@xs4all.nl \
    --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