diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-20 16:02:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-25 19:25:59 +0200 |
commit | db7e8d90cae5d0840ad1444b693ec43dbfab339f (patch) | |
tree | 103b54653162f5b0d8157606aa26240ab1721f95 /drivers/spi/spi-orion.c | |
parent | spi/rockchip: remove redundant dev_err call in rockchip_spi_probe() (diff) | |
download | linux-db7e8d90cae5d0840ad1444b693ec43dbfab339f.tar.xz linux-db7e8d90cae5d0840ad1444b693ec43dbfab339f.zip |
spi/rockchip: fix error return code in rockchip_spi_probe()
Fix to return -EINVAL from the error handling case instead of 0 when
failed to get fifo length.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-orion.c')
0 files changed, 0 insertions, 0 deletions