]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13975): [STV090x] Added internal structure with shared settings and data.
authorAndreas Regel <andreas.regel@gmx.de>
Tue, 5 Jan 2010 22:19:43 +0000 (19:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:36 +0000 (15:10 -0300)
commit5a1b3de6b46f8ef791ffb1a3caf5e4fc0f9c5803
tree0acc51538d65350219254dc06af3e2dc66f82520
parent3f70a273932015217c007fa5b4fe53d25637bbe8
V4L/DVB (13975): [STV090x] Added internal structure with shared settings and data.

As the STV0900 features two demodulation paths in one chip there is
some information used by both instances of the driver when used in
dual mode. This information is now shared in an internal structure
referenced by I2C adapter and address.

Do initialisation of the demodulator only once when used in dual mode.
Moved global mutex demod_lock to internal structure.
Moved dev_ver and mclk to internal structure.
Removed unused tuner_refclk from stv090x_state.

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv090x.c
drivers/media/dvb/frontends/stv090x.h
drivers/media/dvb/frontends/stv090x_priv.h
drivers/media/dvb/ttpci/budget.c