summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-07-19 15:15:29 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-26 21:51:40 -0400
commita3435afba87dc6cd83f5595e7607f3c40f93ef01 (patch)
tree56d70039cdf9d6acdf4c0fcdd1575824ec29809b /drivers/scsi/scsi_ioctl.c
parent0fde22c5420ed258ee538a760291c2f3935f6a01 (diff)
scsi: ufs: host: Hold reference returned by of_parse_phandle()
In ufshcd_populate_vreg(), we should hold the reference returned by of_parse_phandle() and then use it to call of_node_put() for refcount balance. Link: https://lore.kernel.org/r/20220719071529.1081166-1-windhl@126.com Fixes: aa4976130934 ("ufs: Add regulator enable support") Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Liang He <windhl@126.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions