[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211016215527.119189-1-kushalkothari285@gmail.com>
Date: Sun, 17 Oct 2021 03:25:27 +0530
From: Kushal-kothari <kushalkothari285@...il.com>
To: linux-arm-kernel@...ts.infradead.org, mike.rapoport@...il.com,
kushalkothari2850@...il.com, kushalkothari285@...il.com,
outreachy-kernel@...glegroups.com, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, linux-staging@...ts.linux.dev,
nsaenz@...nel.org, bcm-kernel-feedback-list@...adcom.com
Subject: [PATCH] staging: vc04_services: Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to 20ms.
Signed-off-by: Kushal-kothari <kushalkothari285@...il.com>
---
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
index 6fbafdfe340f..80a7898c5331 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
@@ -857,7 +857,7 @@ vchiq_bulk_transmit(unsigned int handle, const void *data, unsigned int size,
if (status != VCHIQ_RETRY)
break;
- msleep(1);
+ usleep_range(1000, 2000);
}
return status;
@@ -894,7 +894,7 @@ enum vchiq_status vchiq_bulk_receive(unsigned int handle, void *data,
if (status != VCHIQ_RETRY)
break;
- msleep(1);
+ usleep_range(1000, 2000);
}
return status;
--
2.25.1
Powered by blists - more mailing lists