Commit 8ff877aa authored by Peter Wang's avatar Peter Wang Committed by Sandeep Dhavale
Browse files

ANDROID: fix android-specific bug in ufshcd.c

There is a circular locking dependency bug detected that
only occurs in ACK and not in upstream.
According to the discussed solution, use mutex_trylock
instead of mutex_lock.

Fixes: e9763349 ("scsi: ufs: core: Don't perform UFS clkscaling during host async scan")
Link: https://lore.kernel.org/all/20250522081233.2358565-1-quic_ziqichen@quicinc.com/


Bug: 436163342
Change-Id: Ibc231d385b0695e0d2863d8606eb0ab8a15550c1
Signed-off-by: default avatarPeter Wang <peter.wang@mediatek.com>
parent c46482c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment