diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-08-12 16:46:32 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-08-23 06:30:53 +0200 |
commit | e538fbe83e374a3521128c1f4642aca037661c9d (patch) | |
tree | 9a2abd920ed6767ae17747daa2e91fa9f1e5fd24 /drivers/mmc/host/sdhci.h | |
parent | 03f8590d90844f04d20488a80e75eaf4c4e0b35c (diff) |
sdhci: handle data interrupts during command
It is fully legal for a controller to start issuing data related
interrupts before it has signalled that the command has completed.
Make sure the driver actually can handle this.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index d157776c114..e28987d6d2e 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -182,6 +182,7 @@ struct sdhci_host { struct mmc_request *mrq; /* Current request */ struct mmc_command *cmd; /* Current command */ struct mmc_data *data; /* Current data request */ + int data_early:1; /* Data finished before cmd */ struct scatterlist *cur_sg; /* We're working on this */ int num_sg; /* Entries left */ |