RE: [PATCH 1/4] spi/s3c64xx: Fix handling of errors in gpio_request()

2012-07-18 Thread Kukjin Kim
Mark Brown wrote: > > When gpio_request() fails the driver logged the failure but while it'd > try to print an error code in the non-DT case it didn't pass the error > code in so garbage would be logged and in the DT case the error wasn't > logged. > > Further, in the non-DT case the error code w

[PATCH 1/4] spi/s3c64xx: Fix handling of errors in gpio_request()

2012-07-18 Thread Mark Brown
When gpio_request() fails the driver logged the failure but while it'd try to print an error code in the non-DT case it didn't pass the error code in so garbage would be logged and in the DT case the error wasn't logged. Further, in the non-DT case the error code was then overwritten with -EBUSY d