summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
blendingdrm/i915/skl: Add support for blending modesDamien Lespiau9 years
masterdrm-tip: 2017y-03m-27d-20h-31m-03s UTC integration manifestPaulo Zanoni8 years
pipe_scalerdrm/i915: Pipescaler destination size limit check on Gen9Nabendu Maiti8 years
pipe_scaler_rebase_20170328drm/i915: Pipescaler destination size limit check on Gen9Nabendu Maiti8 years
 
option> danvet's drm/ playgrounddanvet
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2022-11-22 09:05:54 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2022-12-07 13:28:22 +0100
commitffbace4378dc1aedb02248bbbe5d231754e4df3a (patch)
treefc90e128784875f14bffcf7af5c2e95847d2c3ea
parent4e268fed8b1861616af28f9cfb4eed8ca5d7af6c (diff)
mmc: renesas_sdhi: use plain numbers for end_flags
Linux *_bit accessors take plain bit numbers, no need for BIT(). Fixes: c330601c9c93 ("mmc: renesas_sdhi: take DMA end interrupts into account") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20221122080554.4468-1-wsa+renesas@sang-engineering.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat
-rw-r--r--drivers/mmc/host/renesas_sdhi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/renesas_sdhi.h b/drivers/mmc/host/renesas_sdhi.h
index ea2a85174a09..68da3da9e2e5 100644
--- a/drivers/mmc/host/renesas_sdhi.h
+++ b/drivers/mmc/host/renesas_sdhi.h
@@ -57,8 +57,8 @@ struct renesas_sdhi_of_data_with_quirks {
};
/* We want both end_flags to be set before we mark DMA as finished */
-#define SDHI_DMA_END_FLAG_DMA BIT(0)
-#define SDHI_DMA_END_FLAG_ACCESS BIT(1)
+#define SDHI_DMA_END_FLAG_DMA 0
+#define SDHI_DMA_END_FLAG_ACCESS 1
struct renesas_sdhi_dma {
unsigned long end_flags;