]> git.baikalelectronics.ru Git - kernel.git/commit
spi: ep93xx: fix error return code in ep93xx_spi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 16 May 2013 04:08:56 +0000 (12:08 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 May 2013 17:39:11 +0000 (18:39 +0100)
commit125404a19821416a94de11ef5a76690042554b4c
treeb71c8cab33d0d9178b6add743bb96a8c53cdf682
parent8d558d708ac7028555343d7c77c3fa7aa5714f99
spi: ep93xx: fix error return code in ep93xx_spi_probe()

Fix to return -ENOMEM in the workqueue create error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-ep93xx.c