From: Michael Krufky Date: Tue, 22 Apr 2008 17:45:52 +0000 (-0300) Subject: V4L/DVB (7348): tuner-simple: do not send i2c commands if there is no i2c adapter X-Git-Tag: v2.6.26-rc1~1084^2~324 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a81df363554fb6439b5eb4ada06ad546a1df5ce3;p=pandora-kernel.git V4L/DVB (7348): tuner-simple: do not send i2c commands if there is no i2c adapter if (priv->i2c_props.adap == NULL) then exit any function that would send commands over the i2c bus. We allow drivers to attach without an i2c adapter for cases where the dvb demod accesses the tuner directly via calc_regs. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed