OSDN Git Service

scsi: ufs: stub UFS shutdown handler
authorSubhash Jadavani <subhashj@codeaurora.org>
Tue, 4 Nov 2014 04:29:23 +0000 (20:29 -0800)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 17:57:47 +0000 (10:57 -0700)
commitaa484ff4b600deef66cbb630379e902b9ff20a97
treea580efc64d3f6346f72810d63bf7aaea4494cbdc
parent695e85590b0ea486abe28c2033387acd7a2254d6
scsi: ufs: stub UFS shutdown handler

Currently it seems possible that UFS shutdown handler may race with some
other UFS transfer requests and it may disable the clocks while normal UFS
requests are in progress. Until we fix this race properly, this change
stubs out the UFS shutdown handler. Stubbing out UFS shutdown handler
shouldn't have any functional side effects as UFS device's cache should
anyway be synced by the SCSI shutdown handler. UFS shutdown handler's
main purpose was to send power down notification to UFS device but it
should work even without this explicit notification.

Change-Id: I557891c71defbde722bba1a884f608f4ba3c7da3
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
drivers/scsi/ufs/ufshcd.c