Skip to content
Commit c8d37e6c authored by Chevron Li's avatar Chevron Li Committed by Greg Kroah-Hartman
Browse files

mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing



commit e591fcf6 upstream.

The result from ->get_cd() may be incorrect as the card detect debouncing
isn't managed correctly. Let's fix it.

Signed-off-by: default avatarChevron <Li&lt;chevron.li@bayhubtech.com>
Fixes: 7d440617 ("mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220602132543.596-1-chevron.li@bayhubtech.com


[Ulf: Updated the commit message]
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af28f602
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment