From: Mauro Carvalho Chehab Date: Mon, 6 Jan 2014 12:17:53 +0000 (-0300) Subject: [media] em28xx-i2c: add timeout debug information if i2c_debug enabled X-Git-Tag: v3.14-rc1~20^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d845fb3ae5b97bda8810f450030c061b49a0b91b;p=pandora-kernel.git [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 --- Reading git-diff-tree failed