summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2016-12-11 20:38:20 +0530
committerVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2017-03-03 12:13:32 +0530
commit83333ef2f4925f18f6072b5ba031267c7cdf6d1f (patch)
treef163c3203bb96a100af92f1c055190234ca5d162 /include/linux
parent2a7bbea49bd05426d54b3392ac780a93490c6542 (diff)
mmc: cmdq_hci: ice: Handle ICE HCI errors in cmdq mode
With ICE HCI addition in SDHC, couple of errors conditions got introduced. These errors would be detected by ICE HCI and triggers interrupt. The two errors are: 1. Generic Crypto Error (GCE): This error is detected during the transfer. Need to reset SDHC to recover. 2. Invalid Crypto Configuration Error (ICCE): The HW detects it before the beginning of the transfer and terminates the transfer before actual execution started. Driver has to handle these error for recovering ICE-HCI from these error conditions. This patch is for handling there errors in cmdq mode. Change-Id: Ia10075aca429cbc49ccccdae5c0499c7a176b8a2 Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 804d89a825fc..5374bd6c4cbe 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -208,6 +208,7 @@ struct mmc_cmdq_req {
unsigned int resp_arg;
unsigned int dev_pend_tasks;
bool resp_err;
+ bool skip_err_handling;
int tag; /* used for command queuing */
u8 ctx_id;
};