summaryrefslogtreecommitdiff
path: root/arch/sh/Kconfig.cpu
diff options
context:
space:
mode:
authorBalaji T K <balajitk@ti.com>2012-11-19 21:59:55 +0530
committerChris Ball <cjb@laptop.org>2012-12-06 13:54:54 -0500
commit25e1897bf59b917a696b84b8cf28a5373157404d (patch)
tree34b1186e075e071c446c61ac819234c85b53958f /arch/sh/Kconfig.cpu
parentab269128a2cff7abee06f023e6466fc29991738c (diff)
downloadlinux-25e1897bf59b917a696b84b8cf28a5373157404d.tar.gz
mmc: omap_hsmmc: Fix Oops in case of data errors
ae4bf788ee9 ("mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ") sets both end_cmd and end_trans to 1. Setting end_cmd to 1 for Data Timeout/CRC leads to NULL pointer dereference of host->cmd as the command complete has previously been handled. Set end_cmd only in case of command Timeout/CRC. Moreover host->cmd->error should not be updated on data error case, only host->data->error needs to be updated. Signed-off-by: Balaji T K <balajitk@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/sh/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions