]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rtl28xxu: add I2C read without write
authorOlli Salonen <olli.salonen@iki.fi>
Tue, 5 May 2015 16:54:18 +0000 (13:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 16:21:29 +0000 (13:21 -0300)
commit5f8cda228fa1930f4cd662e38a12fb0b7a9649d1
tree4c82f33fba145aaeca6c110217960bf40f90d3cd
parente830533dc274a9624ad13ce1e4c37e0a20a2333b
[media] rtl28xxu: add I2C read without write

Add support for I2C read operation without a preceeding write.

While here, change the error code to EOPNOTSUPP in case an
unsupported I2C operation is attempted.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c