V4L/DVB (6088): cx2341x: some controls can't be changed while the device is busy
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 21 Aug 2007 21:32:42 +0000 (18:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:06:42 +0000 (22:06 -0300)
commit01f1e44fe8455b6c6c557a62119b8622fb99f5f2
treee1bf62f369561d52aa913a60a75302dff3beb9a6
parentea115d54bc963eb2eb0dc223795f3bd6c689ff99
V4L/DVB (6088): cx2341x: some controls can't be changed while the device is busy

The driver should now pass the 'busy' state of the device to the cx2341x
module whenever controls are set or tried. -EBUSY will be returned if
the device is busy and the user attempts to modify certain 'dangerous'
controls. It concerns controls that change the audio or video
compression mode and bitrates.

The cx88-blackbird and pvrusb2 drivers currently always pass '0' (not busy)
to the cx2341x, effectively keeping the old behavior for now.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx2341x.c
drivers/media/video/cx88/cx88-blackbird.c
drivers/media/video/ivtv/ivtv-controls.c
drivers/media/video/pvrusb2/pvrusb2-hdw.c
drivers/media/video/v4l2-common.c
include/media/cx2341x.h