Message ID | e2b956a9412aedfa72c47a16870f524cffaf3cca.1736234046.git.jeuk20.kim@samsung.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | hw/ufs: Fix legacy single doorbell support bit | expand |
diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index 8d26d13791..a9b72f324f 100644 --- a/hw/ufs/ufs.c +++ b/hw/ufs/ufs.c @@ -1635,7 +1635,7 @@ static void ufs_init_hc(UfsHc *u) cap = FIELD_DP32(cap, CAP, OODDS, 0); cap = FIELD_DP32(cap, CAP, UICDMETMS, 0); cap = FIELD_DP32(cap, CAP, CS, 0); - cap = FIELD_DP32(cap, CAP, LSDBS, 1); + cap = FIELD_DP32(cap, CAP, LSDBS, 0); cap = FIELD_DP32(cap, CAP, MCQS, u->params.mcq); u->reg.cap = cap;
QEMU UFS has supported both legacy single doorbell and MCQ, but the LSDBS value was incorrectly set. This change corrects the LSDBS value to 0. Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com> --- hw/ufs/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)