]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx23885-dvb: Remove a dirty hack that would require DVBv3
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 26 Dec 2011 23:48:54 +0000 (20:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 12:22:54 +0000 (10:22 -0200)
commit098c45951f4cc2f3b107bc8d4b79c7605e931e45
tree5132c13c7cab7576d57cca6c285cf8777f649d60
parent8fb9b3a5ebbcd9dc65694dc68673e433e4925b99
[media] cx23885-dvb: Remove a dirty hack that would require DVBv3

The cx23885-dvb driver has a dirty hack:
1) it hooks the DVBv3 legacy call to FE_SET_FRONTEND;
2) it uses internally the DVBv3 struct to decide some
   configs.

Replace it by a change during the gate control. This will
likely work, but requires testing. Anyway, the current way
will break, as soon as we stop copying data for DVBv3 for
pure DVBv5 calls.

Compile-tested only.

Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-dvb.c