Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure
From: Martin K. Petersen
Date: Mon Nov 21 2016 - 22:41:30 EST
>>>>> "Bjorn" == Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> writes:
Bjorn> ufs_qcom_init() sets the hba priv data before attempting to
Bjorn> acquire the phy handle, so make sure to clear this in the case of
Bjorn> an error. Failing to do this will make ufs_qcom_setup_clocks()
Bjorn> operate on the uninitalized host object.
Applied to 4.10/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering