[PATCH 6.6.y 2/2] mmc: sdhci-pci-gli: Add a new function to simplify the code