[media] cx231xx: let is_tuner check the real i2c port and not the i2c master number
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 2 Oct 2014 05:21:01 +0000 (02:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 19:38:36 +0000 (17:38 -0200)
commit8a0253481c4db5e0790de16748435dbc06b63e65
treee6199ee405f1ed99ed6440941c9b392f8a8f415f
parenta1f267651f1f653c82f46bf1d7d108ad31926a10
[media] cx231xx: let is_tuner check the real i2c port and not the i2c master number

Get used i2c port from bus_nr and status of port_3 switch.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-i2c.c