aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorMatthew Ma <[email protected]>2022-10-14 03:49:51 +0000
committerUlf Hansson <[email protected]>2022-10-17 09:51:34 +0000
commit9972e6b404884adae9eec7463e30d9b3c9a70b18 (patch)
tree6253fed96b23b2461ce787e44051de217b049249 /drivers/mmc/core/queue.c
parentmmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake (diff)
downloadkernel-9972e6b404884adae9eec7463e30d9b3c9a70b18.tar.gz
kernel-9972e6b404884adae9eec7463e30d9b3c9a70b18.zip
mmc: core: Fix kernel panic when remove non-standard SDIO card
SDIO tuple is only allocated for standard SDIO card, especially it causes memory corruption issues when the non-standard SDIO card has removed, which is because the card device's reference counter does not increase for it at sdio_init_func(), but all SDIO card device reference counter gets decreased at sdio_release_func(). Fixes: 6f51be3d37df ("sdio: allow non-standard SDIO cards") Signed-off-by: Matthew Ma <[email protected]> Reviewed-by: Weizhao Ouyang <[email protected]> Reviewed-by: John Wang <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions