spi-topcliff-pch: add recovery processing in case wait-event timeout
commit6c9f63a43c30f496a37ade9fd4304c63df9b01bd
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 9 Dec 2011 04:13:29 +0000 (9 13:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 May 2012 17:46:24 +0000 (21 10:46 -0700)
tree5b53ee7304ec626c4f47f89d3c9d6d53f4473104
parent06dd28fc316fa8a8627c0271d24e1d68b51ca6a3
spi-topcliff-pch: add recovery processing in case wait-event timeout

commit 0f57e168aa109775430c76cc663fb64909813d84 upstream.

Currently, pch_spi_start_transfer failure is not anticipated.
This patch adds the processing.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-topcliff-pch.c