i2c-nomadik: print abort cause only on abort tag
authorVirupax Sadashivpetimath <[email protected]>
Fri, 13 May 2011 10:29:55 +0000 (12:29 +0200)
committerBen Dooks <[email protected]>
Tue, 24 May 2011 23:20:36 +0000 (00:20 +0100)
commit4cb3f538cd88fddaa659a924e7abdb685cd5e784
tree997042532b54dad8e2ac6cd8c3583d4b59267865
parentcd20e4fa910540c339b483d0b95ca237abf3354a
i2c-nomadik: print abort cause only on abort tag

Modify the code to:
1)Print the cause of i2c failure only if the status is set to ABORT.
2)Print slave address on send/receive fail, will help in which slave
failed.

Signed-off-by: Virupax Sadashivpetimath <[email protected]>
Reviewed-by: Jonas Aberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Ben Dooks <[email protected]>
drivers/i2c/busses/i2c-nomadik.c