]> 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)
commitd7d1d4c11b22371267c7fb6da954eb6b669cc1e7
tree5132c13c7cab7576d57cca6c285cf8777f649d60
parent3edb8c66f20836b4483df72a216fed15bfe500ed
[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