commit | d845fb3ae5b97bda8810f450030c061b49a0b91b | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Mon Jan 06 09:17:53 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sun Jan 12 11:56:46 2014 -0200 |
tree | e74ce19d65a3c5e94ca034748d012c42117992cc | |
parent | 50f0a9df275b81096fbc0878c6deb5d99311549e [diff] |
[media] em28xx-i2c: add timeout debug information if i2c_debug enabled If i2c_debug is enabled, we splicitly want to know when a device fails with timeout. If i2c_debug==2, this is already provided, for each I2C transfer that fails. However, most of the time, we don't need to go that far. We just want to know that I2C transfers fail. So, add such errors for normal (ret == 0x10) I2C aborted timeouts. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>