Christopher Freeman 622b5f35da mmc: sdhci: Do not allow tuning procedure to be interrupted
wait_event_interruptible_timeout() will return early if the blocked
process receives a signal, causing the driver to abort the tuning
procedure and possibly leaving the controller in a bad state.  Since the
tuning command is expected to complete quickly (<50ms) and we've set a
timeout, use wait_event_timeout() instead.

Signed-off-by: Christopher Freeman <cfreeman@nvidia.com>
Tested-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-09-26 21:31:11 +02:00
..
2016-05-02 10:33:19 +02:00
2016-07-25 10:34:26 +02:00
2016-07-18 11:50:40 +02:00
2016-07-31 21:36:58 -04:00
2014-09-24 10:13:09 +02:00
2015-06-01 09:06:48 +02:00
2016-07-25 10:34:07 +02:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00