diff options
| author | Florian Maillard <florian.maillard@mailoo.org> | 2026-08-24 08:57:55 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-10 13:33:39 +0200 |
| commit | 9c182bc5d7817437a7d04ab96133f9191846d93d (patch) | |
| tree | 2c8b62a78a700307b7ed3d7c1480555cf59564ee /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 53823e25793a97d07e6e98e0904bbf74cac8bc76 (diff) | |
| download | linux-next-9c182bc5d7817437a7d04ab96133f9191846d93d.tar.gz linux-next-9c182bc5d7817437a7d04ab96133f9191846d93d.zip | |
mmc: rtsx_pci_sdmmc: ignore broken write-protect on ThinkPad X260
The Realtek RTS522A card reader in the Lenovo ThinkPad X260
(subsystem 17aa:504a) incorrectly reports inserted SD cards as
write-protected.
This causes the MMC core to expose the card as read-only:
mmcblk0: mmc0:aaaa SN256 238 GiB (ro)
and /sys/block/mmcblk0/ro reports 1.
Setting MMC_CAP2_NO_WRITE_PROTECT makes the card writable again.
Limit the quirk to the affected Lenovo subsystem.
Assisted-by: ChatGPT:GPT-5.6 Sol
Signed-off-by: Florian Maillard <florian.maillard@mailoo.org>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
