linux/drivers/media
Mauro Carvalho Chehab 34906633fa [media] em28xx-audio: don't wait for lock in non-block mode
Pulseaudio has the bad habit of stopping a streaming audio if
a device, opened in non-block mode, waits.

It is impossible to avoid em28xx to wait, as it will send commands
via I2C, and other I2C operations may be happening (firmware
transfers, Remote Controller polling, etc). Yet, as each em28xx
subdriver locks em28xx-dev to protect the access to the hardware,
it is possible to minimize the audio glitches by returning -EAGAIN
to pulseaudio, if the lock is already taken by another subdriver.

Reported-by: Antti Palosaari <crope@iki.fi>
Tested-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-01-12 11:57:05 -02:00
..
common [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
dvb-core [media] Add USB IDs for Winfast DTV Dongle Mini-D 2013-12-19 09:26:15 -02:00
dvb-frontends [media] m88rs2000: Correct m88rs2000_get_fec 2014-01-07 09:40:34 -02:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] s5k5baf: Fix potential NULL pointer dereferencing 2014-01-07 08:48:46 -02:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] bw-qcam: fix timestamp handling 2013-05-27 09:30:19 -03:00
pci [media] videodev2: Set vb2_rect's width and height as unsigned 2014-01-07 08:02:39 -02:00
platform [media] media: soc_camera: rcar_vin: Add preliminary R-Car M2 support 2014-01-07 08:12:57 -02:00
radio [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
rc [media] media: Remove OOM message after input_allocate_device 2014-01-07 08:01:42 -02:00
tuners [media] tuner-xc2028: Don't read status if device is powered down 2014-01-10 06:05:13 -02:00
usb [media] em28xx-audio: don't wait for lock in non-block mode 2014-01-12 11:57:05 -02:00
v4l2-core [media] vb2: Fix comment in __qbuf_dmabuf 2014-01-07 09:46:29 -02:00
Kconfig [media] subdev autoselect only works if I2C and I2C_MUX is selected 2013-12-21 06:03:06 -02:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in __media_device_enum_links() 2013-06-12 18:52:45 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00