]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7379): tuner: prevent instance sharing if i2c adapter is NULL
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:46:04 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:51 +0000 (14:07 -0300)
commit253fdae861ee0f191b0fb5bacbbfa25adfea48ad
treea787ce86b8b276bc936e0a16c74893fdb53c083c
parentfd0692301fb50235b5df101cc1a00b72c66fb7ab
V4L/DVB (7379): tuner: prevent instance sharing if i2c adapter is NULL

We currently do not have a method to enable instance staring if i2c adapter
is NULL, in the cases of dvb demods that write to the tuner directly using
calc_regs.  Prevent possible wrong instance sharing for these cases until
a better solution can be found.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-i2c.h