V4L/DVB (9346): Optimization: Enable gate in a symmetric/disciplined way,
authorManu Abraham <abraham.manu@gmail.com>
Mon, 20 Oct 2008 21:14:14 +0000 (18:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 11 Nov 2008 10:11:18 +0000 (08:11 -0200)
commit3b37a15c2d75585cc0da49b8e69345af91e227ce
tree83bf0786d2bf5c5c9b37e367d809cbc89830980c
parentf7378995951a2c5e4e836df84e5669bc72c8dda8
V4L/DVB (9346): Optimization: Enable gate in a symmetric/disciplined way,

rather than implementing different ways leading to confusion.

This allows multiple gate_enable/disable's in the tuner_read/write
functions, thereby lesser number of I/O operations throughout,
eventually leading to better results. As a side effect demods that
detect the STOP bit for auto closing of the gate can be avoided, thereby
a very minimal gain in disabling the auto detect feature as well.
Improves readability on the device control.

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