i2c: pxa: Update debug function to dump more info on error
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tue, 14 Jul 2015 07:36:44 +0000 (13:06 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:30 +0000 (08:37 +0200)
commit3a2dc1677b60af250bea85d470ef5151c70a1264
tree5843d19d66837ef064338e0c739a13a13f3f3b92
parente2b498fd55a871ab3913914b982e3dd07d32e90e
i2c: pxa: Update debug function to dump more info on error

Update i2c_pxa_scream_blue_murder() fn to print more information
in case of error.
Also, use dev_err variants instead of printk.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Cc: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pxa.c