]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-pci-gli: Add a new function to simplify the code
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Thu, 31 Jul 2025 06:57:50 +0000 (14:57 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 18 Aug 2025 09:38:24 +0000 (11:38 +0200)
commitdec8b38be4b35cae5f7fa086daf2631e2cfa09c1
tree5923f0ef67cb3cf1642a5535ffa97b4b03bd7313
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
mmc: sdhci-pci-gli: Add a new function to simplify the code

In preparation to fix replay timer timeout, add
sdhci_gli_mask_replay_timer_timeout() function
to simplify some of the code, allowing it to be re-used.

Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Fixes: 1ae1d2d6e555 ("mmc: sdhci-pci-gli: Add Genesys Logic GL9763E support")
Cc: stable@vger.kernel.org
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250731065752.450231-2-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-gli.c