From: Tanmay Kathpalia Date: Tue, 21 Oct 2025 20:54:10 +0000 (-0700) Subject: sdhci: Reorder interrupt flags in SDHCI_INT_DATA_MASK definition X-Git-Tag: v2026.01-rc2~55^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f896f5c2523fd1dfabad3441518ced34fc4d816d;p=pandora-u-boot.git sdhci: Reorder interrupt flags in SDHCI_INT_DATA_MASK definition Reorder the SDHCI_INT_SPACE_AVAIL and SDHCI_INT_DATA_AVAIL flags in the SDHCI_INT_DATA_MASK definition to match the bit order as defined in the SDHCI specification and maintain consistency with the register layout. The functional behavior remains unchanged as this only affects the order of OR operations in the mask definition. Signed-off-by: Tanmay Kathpalia Reviewed-by: Peng Fan Signed-off-by: Peng Fan --- diff --git a/include/sdhci.h b/include/sdhci.h index 2372697b743..d9c0597a0c1 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -143,7 +143,7 @@ #define SDHCI_INT_CMD_MASK (SDHCI_INT_RESPONSE | SDHCI_INT_TIMEOUT | \ SDHCI_INT_CRC | SDHCI_INT_END_BIT | SDHCI_INT_INDEX) #define SDHCI_INT_DATA_MASK (SDHCI_INT_DATA_END | SDHCI_INT_DMA_END | \ - SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL | \ + SDHCI_INT_SPACE_AVAIL | SDHCI_INT_DATA_AVAIL | \ SDHCI_INT_DATA_TIMEOUT | SDHCI_INT_DATA_CRC | \ SDHCI_INT_DATA_END_BIT | SDHCI_INT_ADMA_ERROR) #define SDHCI_INT_ALL_MASK ((unsigned int)-1)