linux/drivers/media/usb
Frank Schaefer 7f6301d125 [media] em28xx-i2c: relax error check in em28xx_i2c_recv_bytes()
It turned out that some devices return less bytes then requested via i2c when
ALL of the following 3 conditions are met:
- i2c bus B is used
- there was no attempt to write to the specified slave address before
- no device present at the specified slave address
With the current code, this triggers an -EIO error and prints a message to the
system log.
Because it can happen very often during device probing, it is better to ignore
this error and bail out silently after the follwing i2c transaction success
check with -ENODEV.

[mchehab@redhat.com: a small CodingStyle fix]
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-18 20:18:29 -03:00
..
au0828 [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx : Add support for OTG102 aka EZGrabber2 2013-03-18 17:22:55 -03:00
dvb-usb [media] m920x: let GCC see 'ret' is used initialized 2013-03-18 17:35:24 -03:00
dvb-usb-v2 [media] anysee: coding style changes 2013-03-18 16:54:57 -03:00
em28xx [media] em28xx-i2c: relax error check in em28xx_i2c_recv_bytes() 2013-03-18 20:18:29 -03:00
gspca [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
hdpvr [media] hdpvr: Fix memory leak 2013-03-18 16:39:08 -03:00
pvrusb2 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
pwc [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00
s2255 [media] s2255: fix big-endian support 2013-03-05 15:42:30 -03:00
siano Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sn9c102 [media] sn9c102: Replace memcpy with struct assignment 2012-12-27 18:44:46 -02:00
stk1160 [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00
stkwebcam [media] stk-webcam: implement support for count == 0 when calling REQBUFS 2013-03-05 14:44:17 -03:00
tlg2300 [media] tlg2300: Remove logs() macro 2013-03-05 11:49:01 -03:00
tm6000 [media] tm6000: fix an uninitialized variable 2013-02-08 17:30:53 -02:00
ttusb-budget [media] dvb-usb: check for invalid length in ttusb_process_muxpack() 2013-02-08 17:29:52 -02:00
ttusb-dec
usbvision Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
uvc [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00