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)
commitab6c46e24a3c89c1e2d0d3959e119583e1bc92d9
treec64ba84af1ec78289a9022874566605765a2010a
parentbdb0aace95d42571ea054a56ed053f868336e13a
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