mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 18:16:39 +07:00
7f6301d125
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> |
||
---|---|---|
.. | ||
au0828 | ||
b2c2 | ||
cpia2 | ||
cx231xx | ||
dvb-usb | ||
dvb-usb-v2 | ||
em28xx | ||
gspca | ||
hdpvr | ||
pvrusb2 | ||
pwc | ||
s2255 | ||
siano | ||
sn9c102 | ||
stk1160 | ||
stkwebcam | ||
tlg2300 | ||
tm6000 | ||
ttusb-budget | ||
ttusb-dec | ||
usbvision | ||
uvc | ||
zr364xx | ||
Kconfig | ||
Makefile |