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:52:10 +0000 (14:52 -0700)
commit52bbb80d45a25ff0a64061b117cbc22056aaee26
treefd4eff93ebe7fbfa5387ed744d8f2281bfe567eb
parentf094737d6ad87244c85c17c3c0b8350bf52686f1
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