Commit 2c553e75 authored by jintae jang's avatar jintae jang Committed by Bart Van Assche
Browse files

UPSTREAM: scsi: ufs: Adjust ufshcd_hold() during sending attribute requests

Invalidation check of arguments should have been checked before
ufshcd_hold(). This can help to prevent ufshcd_hold()/ ufshcd_release()
from being invoked unnecessarily.

[mkp: removed unused out: labels]

Link: https://lore.kernel.org/r/1606973132-5937-1-git-send-email-user@jang-Samsung-DeskTop-System


Reviewed-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Signed-off-by: default avatarjintae jang <jt77.jang@samsung.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 8ca1a40b git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 master)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
Change-Id: Iad1eaf4ddaf38091e68e7298c432a22abcce9d50
parent 52ccdf90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment