spi: img-spfi: Implement a handle_err() callback
authorEzequiel Garcia <ezequiel.garcia@imgtec.com>
Wed, 8 Apr 2015 17:03:14 +0000 (10:03 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2015 20:04:28 +0000 (21:04 +0100)
commit824ab37df006ea2d06e4c4817344c0e8c056b744
treed114e45f4949bdf93564efec4f43e342cd027421
parent89cda06d7f9c3c111a81fcdf5464926f5f984ebc
spi: img-spfi: Implement a handle_err() callback

The driver can be greatly simplified by moving the transfer timeout
handling to a handle_err() callback.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-img-spfi.c