[media] dvb_frontend: Simplify the emulation logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Mar 2013 18:25:37 +0000 (15:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Mar 2013 23:33:03 +0000 (20:33 -0300)
commit52dee392f491e166cef21c787d1736f052a902cd
tree652a6489f4c05970cfe2c329e4c1de5ae8c0ced1
parentbe431b16c6bd22020abc5f5f30a89f1e2934de8e
[media] dvb_frontend: Simplify the emulation logic

The current logic was broken and too complex; while it works
fine for DVB-S2/DVB-S, it is broken for ISDB-T.
Make the logic simpler, fixes it for ISDB-T and make it clearer.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb_frontend.c