mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status
Skip checking the SWITCHABLE_SIGNALING_VOLTAGE bit of MCI_GENERICS
register while checking power status on SDHC v5.0 onwards.
This bit shows whether controller supports switching of IO signaling
voltage or not. On SDHC v5.0, switchable signaling voltage support
is present by default and this bit was removed. So we can skip checking
this bit in case of v5.0 controller.
Without this patch, driver tries to read a non-existing bit field which is
causing driver to proceed without waiting for pwr-irq. In some case its
turning off the clock even before pwr irq finishes thus resulting in
un-clocked access errors.
Change-Id: I5beaf5bf043999522e3f2ec537568524c5aec4bf
Signed-off-by:
Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Loading
Please register or sign in to comment