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