From 6b9dec0250ee7a068de45f896e7e318716e771c3 Mon Sep 17 00:00:00 2001 From: mglocker Date: Thu, 4 Jan 2024 13:30:20 +0000 Subject: [PATCH] Fix timeout value for write command (typo). --- sys/dev/ic/ufshci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/ufshci.c b/sys/dev/ic/ufshci.c index 84968c3d161..f08e5203d79 100644 --- a/sys/dev/ic/ufshci.c +++ b/sys/dev/ic/ufshci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufshci.c,v 1.4 2024/01/04 12:22:35 mglocker Exp $ */ +/* $OpenBSD: ufshci.c,v 1.5 2024/01/04 13:30:20 mglocker Exp $ */ /* * Copyright (c) 2022 Marcus Glocker @@ -1274,7 +1274,7 @@ ufshci_utr_cmd_write(struct ufshci_softc *sc, struct ufshci_ccb *ccb, UFSHCI_REG_UTRIACR_IAEN | UFSHCI_REG_UTRIACR_IAPWEN | UFSHCI_REG_UTRIACR_IACTH(UFSHCI_INTR_AGGR_COUNT) | - UFSHCI_REG_UTRIACR_IATOVAL(UFSHCI_INTR_AGGR_COUNT)); + UFSHCI_REG_UTRIACR_IATOVAL(UFSHCI_INTR_AGGR_TIMEOUT)); } /* 7.2.1 Basic Steps when Building a UTP Transfer Request: 14) */ -- 2.20.1