From: Sujit Reddy Thumma Date: Mon, 26 May 2014 05:29:14 +0000 (+0530) Subject: scsi: ufs: Fix device and host reset methods X-Git-Tag: omap-for-v3.16/fixes-against-rc1~13^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3441da7ddbdedf91bfd5cc8609c571ffc24942dd;p=pandora-kernel.git scsi: ufs: Fix device and host reset methods As of now SCSI initiated error handling is broken because, the reset APIs don't try to bring back the device initialized and ready for further transfers. In case of timeouts, the scsi error handler takes care of handling aborts and resets. Improve the error handling in such scenario by resetting the device and host and re-initializing them in proper manner. Signed-off-by: Sujit Reddy Thumma Reviewed-by: Yaniv Gardi Tested-by: Dolev Raviv Acked-by: Vinayak Holikatti Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed