mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-04 18:16:33 +00:00
On HP laptops with JMicron 388 chip, the write-locked SD card isn't detected correctly as read-only in many cases. This is because the PRESENT_STATE register becomes unsable just after plugging, and it returns the WRITE_PROTECT bit wrongly at the first read. This patch fixes the read-only detection by adding a new sdhci quirk indicating to check the register more intensively with a relatively long delay. The patch is tested with 2.6.39-rc4 kernel. Cc: Aries Lee <arieslee@jmicron.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Chris Ball <cjb@laptop.org> |
||
|---|---|---|
| .. | ||
| boot.h | ||
| card.h | ||
| core.h | ||
| dw_mmc.h | ||
| host.h | ||
| mmc.h | ||
| pm.h | ||
| sd.h | ||
| sdhci-pltfm.h | ||
| sdhci-spear.h | ||
| sdhci.h | ||
| sdio_func.h | ||
| sdio_ids.h | ||
| sdio.h | ||
| sh_mmcif.h | ||
| sh_mobile_sdhi.h | ||
| tmio.h | ||