OSDN Git Service

[media] cx231xx: drop unconditional port3 switching
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 2 Oct 2014 05:21:04 +0000 (02:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 19:42:11 +0000 (17:42 -0200)
commit660acd54d1656f6361819d8d6b377a2aa2438748
tree3c30e39a87acb14d3d3fafb49db8b24b6c77eac6
parent15c212dd0f7af8650808ada802c9317b4b0ec5a7
[media] cx231xx: drop unconditional port3 switching

All switching should be done by i2c mux adapters.
Drop explicit dont_use_port_3 flag.
Drop info message about switch.

Only the removed code in start_streaming is questionable:
It did switch the port_3 flag without accessing i2c in between.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-avcore.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-core.c
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/cx231xx/cx231xx.h