[media] rtl28xxu: add heuristic to detect chip type
authorAntti Palosaari <crope@iki.fi>
Tue, 23 Dec 2014 16:14:36 +0000 (13:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Feb 2015 18:25:24 +0000 (16:25 -0200)
commitd0f232e823af54a2554e371b5c96189facb1434b
treea9b8c944463defbda2233a1b191a9856cc01e0ba
parentc56222a6b25c24f211ecefd6ecc1003a7cb075d4
[media] rtl28xxu: add heuristic to detect chip type

Detect automatically whether chip is old RTL2831U or newer
RTL2832U/RTL2832P. Detection is based I2C command that is found only
from newer RTL2832U models.

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