From e4f9759f619bcc5bd999e93c05127e23ed526064 Mon Sep 17 00:00:00 2001 From: Hiteshkumar Patel Date: Wed, 20 Mar 2024 22:10:09 +0000 Subject: [PATCH] nvidia-oot: nvpps: Replace dev_info with dev_dbg. nvpps driver is printing debug info when TSC status is not locked. Replace that status print for dev_info() to dev_dbg(). Bug 4566570 Change-Id: I6537e08204c35698bf11fd9c3ff4951a6167f8e9 Signed-off-by: Hiteshkumar Patel Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3101099 (cherry picked from e77e6c5aeccf5bc5bbb80e6ba6ab3e8bf9baebcf) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3104089 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/nvpps/nvpps_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvpps/nvpps_main.c b/drivers/nvpps/nvpps_main.c index 52e512f6..0ae00007 100644 --- a/drivers/nvpps/nvpps_main.c +++ b/drivers/nvpps/nvpps_main.c @@ -370,7 +370,7 @@ static void tsc_timer_callback(struct timer_list *t) */ if (!(tsc_lock_status & BIT(TSC_LOCKED_STATUS_BIT_OFFSET))) { uint32_t lock_control; - dev_info(pdev_data->dev, "tsc_lock_stat:%x\n", tsc_lock_status); + dev_dbg(pdev_data->dev, "tsc_lock_stat:0x%x\n", tsc_lock_status); /* Write 1 to TSC_LOCKING_STATUS_0.ALIGNED to clear it */ writel(tsc_lock_status | BIT(TSC_ALIGNED_STATUS_BIT_OFFSET), pdev_data->tsc_reg_map_base + TSC_LOCKING_STATUS_OFFSET);