Re: [PATCH] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-09 Thread Balaji T K
On Friday 09 November 2012 08:22 PM, Felipe Balbi wrote: On Fri, Nov 09, 2012 at 08:11:19PM +0530, Balaji T K wrote: 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 Data Time

Re: [PATCH] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-09 Thread Felipe Balbi
On Fri, Nov 09, 2012 at 08:11:19PM +0530, Balaji T K wrote: > 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 Data Timeout/CRC. this comment doesnt match code as code is se