public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 1/2] staging/nvec: update comment regarding udelay in the isr
@ 2024-02-18 21:25 Marc Dietrich
  2024-02-18 21:25 ` [PATCH 2/2] staging/nvec: update TODO Marc Dietrich
  2024-02-19 16:25 ` [PATCH 1/2] staging/nvec: update comment regarding udelay in the isr Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Marc Dietrich @ 2024-02-18 21:25 UTC (permalink / raw)
  To: linux-staging; +Cc: linux-tegra, Marc Dietrich

Update the comment before the udelay on how to replace it.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
---
 drivers/staging/nvec/nvec.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index b3f114cb00dc..ec081d81a308 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -709,10 +709,11 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 		status & RNW ? " RNW" : "");

 	/*
-	 * TODO: A correct fix needs to be found for this.
+	 * TODO: replace the udelay with a read back after each writel above
+	 * in order to work around a hardware issue, see i2c-tegra.c
 	 *
-	 * We experience less incomplete messages with this delay than without
-	 * it, but we don't know why. Help is appreciated.
+	 * Unfortunately, this change causes an intialisation issue with the
+	 * touchpad, which needs to be fixed first.
 	 */
 	udelay(100);

--
2.40.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-25 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-18 21:25 [PATCH 1/2] staging/nvec: update comment regarding udelay in the isr Marc Dietrich
2024-02-18 21:25 ` [PATCH 2/2] staging/nvec: update TODO Marc Dietrich
2024-02-19 16:25 ` [PATCH 1/2] staging/nvec: update comment regarding udelay in the isr Thierry Reding
2024-02-25 19:53   ` Marc Dietrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox