Skip to content
Commit faded9b5 authored by Wenchao Chen's avatar Wenchao Chen Committed by Ulf Hansson
Browse files

mmc: sdhci: Fix host->cmd is null



When data crc occurs, the kernel will panic because host->cmd is null.

Signed-off-by: default avatarWenchao Chen <wenchao.chen@unisoc.com>

Fixes: efe8f5c9

 ("mmc: sdhci: Capture eMMC and SD card errors")
Cc: stable@vger.kernel.org
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20220907035847.13783-1-wenchao.chen666@gmail.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 80e78fcc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment