[PATCH v1] ufs: core: correct clear tm error log
peter.wang at mediatek.com
peter.wang at mediatek.com
Mon Oct 2 05:55:51 PDT 2023
From: Peter Wang <peter.wang at mediatek.com>
The clear tm function error log is inverted.
Signed-off-by: Peter Wang <peter.wang at mediatek.com>
---
drivers/ufs/core/ufshcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index c2df07545f96..4095d88eee44 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -6895,7 +6895,7 @@ static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag)
mask, 0, 1000, 1000);
dev_err(hba->dev, "Clearing task management function with tag %d %s\n",
- tag, err ? "succeeded" : "failed");
+ tag, err ? "failed" : "succeeded");
out:
return err;
--
2.18.0
More information about the Linux-mediatek
mailing list