[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)
commitd744a0cb8a819e93ad3852705a8df7bbe4599ad4
tree4c82f33fba145aaeca6c110217960bf40f90d3cd
parentee3c3e46885946cc041f08ec68e7c5b91b087cbe
[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