[PATCH 6.16 236/457] mmc: sdhci-pci-gli: Add a new function to simplify the code