commit | a81df363554fb6439b5eb4ada06ad546a1df5ce3 | [log] [tgz] |
---|---|---|
author | Michael Krufky <mkrufky@linuxtv.org> | Tue Apr 22 14:45:52 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Thu Apr 24 14:07:49 2008 -0300 |
tree | 9744ce1e24d63a1dbfdc123c9e5e569b9fede9a9 | |
parent | 62325497db6ef3b13cae41d5038e2693997d7d3e [diff] |
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 <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>