]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: s3c2410: Print errno code in error logs
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 20 Apr 2016 14:37:55 +0000 (10:37 -0400)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 25 Apr 2016 22:32:03 +0000 (00:32 +0200)
commit8f8edd491ac64c3cfe4e8ffff2b7385df5c02860
treedd4d43aca20405a371f73183fed8bd15ad3cc696
parent0915833bd5f9987fdcdb491da1e75026bae05683
i2c: s3c2410: Print errno code in error logs

The driver not always prints the error code in case of a failure but this
information can be very useful for debugging. So let's print if available.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-s3c2410.c