Handled the re-tuning request event when Data or
Command CRC errors are seen during data transfers by
enabling RETUNING flag in the host.
Bug
1462358
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/386337
(cherry picked from commit
a2b9a94e2e20c1a8de3366c3334e4ca392b2b220)
Change-Id: Id2b5671dfeccc52eb474adbf00d5f5d69471e960
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/739277
Reviewed-by: Automatic_Commit_Validation_User
if (host->ops->sd_error_stats)
host->ops->sd_error_stats(host, intmask);
+ if (intmask & SDHCI_INT_RETUNING_EVENT)
+ host->flags |= SDHCI_NEEDS_RETUNING;
+
if (intmask & SDHCI_INT_CMD_MASK)
sdhci_cmd_irq(host, intmask & SDHCI_INT_CMD_MASK,
&intmask);