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)
commitcac2b0eb18e140e2f63146d0f97691e9238570b6
treea787ce86b8b276bc936e0a16c74893fdb53c083c
parent7daa4a8897e79911f524ddac065adea05c7e9b16
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