Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-21 Thread Martin K. Petersen
> "Bjorn" == Bjorn Andersson 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

Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-21 Thread Martin K. Petersen
> "Bjorn" == Bjorn Andersson 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

Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-21 Thread Subhash Jadavani
On 2016-11-19 22:34, Bjorn Andersson wrote: ufs_qcom_init() sets the hba priv data before attempting to acquire the phy handle, so make sure to clear this in the case of an error. Failing to do this will make ufs_qcom_setup_clocks() operate on the uninitalized host object. Signed-off-by:

Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-21 Thread Subhash Jadavani
On 2016-11-19 22:34, Bjorn Andersson wrote: ufs_qcom_init() sets the hba priv data before attempting to acquire the phy handle, so make sure to clear this in the case of an error. Failing to do this will make ufs_qcom_setup_clocks() operate on the uninitalized host object. Signed-off-by:

[PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-19 Thread Bjorn Andersson
ufs_qcom_init() sets the hba priv data before attempting to acquire the phy handle, so make sure to clear this in the case of an error. Failing to do this will make ufs_qcom_setup_clocks() operate on the uninitalized host object. Signed-off-by: Bjorn Andersson ---

[PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-19 Thread Bjorn Andersson
ufs_qcom_init() sets the hba priv data before attempting to acquire the phy handle, so make sure to clear this in the case of an error. Failing to do this will make ufs_qcom_setup_clocks() operate on the uninitalized host object. Signed-off-by: Bjorn Andersson --- drivers/scsi/ufs/ufs-qcom.c |