[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)
commita7d44baaed0a8c7d4c4fb47938455cb3fc2bb1eb
tree5132c13c7cab7576d57cca6c285cf8777f649d60
parentc6f56e7d794cba022353d464dfa3383d1b3e0125
[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