UPSTREAM: mmc: sdhci: Fix host->cmd is null
commit faded9b5 upstream When data crc occurs, the kernel will panic because host->cmd is null. Signed-off-by:Wenchao Chen <wenchao.chen@unisoc.com> Fixes: 6f0f7204 ("mmc: sdhci: Capture eMMC and SD card errors") Change-Id: Ibb69655762c00ba9ee252888c6ff2b8999e7e7d1 Cc: stable@vger.kernel.org Acked-by:
Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20220907035847.13783-1-wenchao.chen666@gmail.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Bug: 254605504 Signed-off-by:
Wenchao Chen <wenchao.chen@unisoc.com>
Loading
Please sign in to comment