Add debug fs entry error state to query eMMC and SD card errors statistics. If any errors occurred in eMMC and SD card driver level then err_state value will be set to 1. (cherry picked from commit 6ecf831d2cea999c2cc881b39b147cf8ee9e43ae https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git devel) Bug: 233007144 Link: https://lore.kernel.org/lkml/1652857340-6040-5-git-send-email-quic_c_sbhanu@quicinc.com/ Signed-off-by: Liangliang Lu <quic_luliang@quicinc.com> Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com> Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com> Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com> Change-Id: Ie4cf876dc02fb719d91a7d37c8c5ec3aa2df54ab
7.9 KiB
7.9 KiB