Re: [PATCH v2 1/3] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-09 Thread Felipe Balbi
On Fri, Nov 09, 2012 at 09:36:14PM +0530, Balaji T K wrote: > "commit ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2 > 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

[PATCH v2 1/3] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-09 Thread Balaji T K
"commit ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2 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