summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDeepesh Gujarathi <dgujarathi@nvidia.com>2010-12-23 15:24:39 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2010-12-24 05:26:21 -0800
commit3658b3f65ac7ad57e57324d5ee131db16eb8757d (patch)
tree274b0b01e485bc985c76d497302187cfbb50ad52 /drivers
parentb400775fb142061f69c40cedb4106c91e26668dc (diff)
tegra: sdhci: fix register bit definition
The SDHCI_QUIRK_ENABLE_INTERRUPT_AT_BLOCK_GAP was incorrectly defined as 1<<31, causing undesired quirks to be set. The bit should instead be defined as 1LL<<31 to prevent sign bit overflow. fix for bug 767438 Change-Id: If7ce6df31c7b249b005290cb2ad4c4a723347880 Reviewed-on: http://git-master/r/14191 Reviewed-by: Deepesh Subhash Gujarathi (Engrg-Mobile) <dgujarathi@nvidia.com> Tested-by: Deepesh Subhash Gujarathi (Engrg-Mobile) <dgujarathi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sdhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 7af27866c4ed..e4d155912812 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -251,7 +251,7 @@ struct sdhci_host {
/* Controller write protect bit is broken. Assume no write protection */
#define SDHCI_QUIRK_BROKEN_WRITE_PROTECT (1<<30)
/* Controller needs INTERRUPT_AT_BLOCK_GAP enabled to detect card interrupts */
-#define SDHCI_QUIRK_ENABLE_INTERRUPT_AT_BLOCK_GAP (1<<31)
+#define SDHCI_QUIRK_ENABLE_INTERRUPT_AT_BLOCK_GAP (1LL<<31)
/* Controller should not program HIGH_SPEED_EN after switching to high speed */
#define SDHCI_QUIRK_BROKEN_CTRL_HISPD (1LL<<32)
/* Controller supports 8-bit data width */