i2c-bfin-twi: add debug output for error status
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 22 Mar 2010 07:23:17 +0000 (03:23 -0400)
committerBen Dooks <ben-linux@fluff.org>
Wed, 19 May 2010 23:18:58 +0000 (00:18 +0100)
commit5cfafc18f38aa6701f581bee875fb0b19f3b3b4b
tree7ba9d852b44238ee37c50bd0d80ddf76848f81ea
parentdd7319a5289deb4e17beb8851d343e7930b32c3b
i2c-bfin-twi: add debug output for error status

Add some debug() code to decode the error register.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-bfin-twi.c