]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7184): make hybrid_tuner_request_state tolerant of devices without i2c adapters
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:42:05 +0000 (14:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:43 +0000 (14:07 -0300)
commit76fdefb54eb038626671a0d53d70e8da8cbd0b57
treec64ba84af1ec78289a9022874566605765a2010a
parent9e3ffb37764b4ee82bd506de5d70a1f9fb69bca3
V4L/DVB (7184): make hybrid_tuner_request_state tolerant of devices without i2c adapters

Some dvb demodulators access the tuner directly without using i2c.
In these cases, i2c_adap may be NULL.  This patch fixes
hybrid_tuner_request_state to allow for NULL i2c_adapters.

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