diff options
| author | Sergey Senozhatsky <[email protected]> | 2025-06-25 05:20:37 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-06-25 12:42:51 +0000 |
| commit | ec54c0a20709ed6e56f40a8d59eee725c31a916b (patch) | |
| tree | bb41ef2556d94319daaf18fd2bba8a91252ba160 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Revert "mmc: sdhci: Disable SD card clock before changing parameters" (diff) | |
| download | kernel-ec54c0a20709ed6e56f40a8d59eee725c31a916b.tar.gz kernel-ec54c0a20709ed6e56f40a8d59eee725c31a916b.zip | |
mtk-sd: reset host->mrq on prepare_data() error
Do not leave host with dangling ->mrq pointer if we hit
the msdc_prepare_data() error out path.
Signed-off-by: Sergey Senozhatsky <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Fixes: f5de469990f1 ("mtk-sd: Prevent memory corruption from DMA map failure")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
