summaryrefslogtreecommitdiff
path: root/drivers/ide/macide.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-11-20 09:34:51 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-22 06:40:30 +0300
commita6854dff635ddde8403ae1dce4c6772eb1031827 (patch)
treeec8581700b82360ba904488364f99c1fa6776c05 /drivers/ide/macide.c
parent2244459070c8080bffcd9f9916ee45b9463b6b6d (diff)
downloadlinux-a6854dff635ddde8403ae1dce4c6772eb1031827.tar.xz
scsi: ufs: qcom: Properly clear hba priv on failure
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 <bjorn.andersson@linaro.org> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ide/macide.c')
0 files changed, 0 insertions, 0 deletions