]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-pci-gli: Add a new function to simplify the code
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Sat, 23 Aug 2025 14:32:44 +0000 (10:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:45 +0000 (16:28 +0200)
commitf0aa8591ba0c2df3fa02e92247fc25aad68895f2
tree82c3302b1a9150d7aa7cfe330311215e490fedb2
parent1eae029f79b6ea111383ad8370719f686a44ae58
mmc: sdhci-pci-gli: Add a new function to simplify the code

[ Upstream commit dec8b38be4b35cae5f7fa086daf2631e2cfa09c1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci-gli.c