pata_scc: propagate return value of scc_wait_after_reset
authorArjun Sreedharan <arjun024@gmail.com>
Sun, 17 Aug 2014 14:30:09 +0000 (20:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:54:07 +0000 (14:54 -0700)
commit4f09b0e0285f3caaf1584c7cd989ef2012d87b22
tree3e8192aeeef625a1f264ca4a13766b03be5fee86
parent335b05e627c4ed007f2743f78d1cac60a265e74e
pata_scc: propagate return value of scc_wait_after_reset

commit 4dc7c76cd500fa78c64adfda4b070b870a2b993c upstream.

scc_bus_softreset not necessarily should return zero.
Propagate the error code.

Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/pata_scc.c