aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2024-02-18 22:25:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-19 09:46:58 +0100
commit6dde7d5fbdc3ad2c03c8c0fe3f2ed229fa31d1e5 (patch)
treed6a0a8b5fcf3e5a0fc14835fc87fe2f37b249659
parentstaging: gdm724x: constantify the struct device_type usage (diff)
downloadwireguard-linux-6dde7d5fbdc3ad2c03c8c0fe3f2ed229fa31d1e5.tar.xz
wireguard-linux-6dde7d5fbdc3ad2c03c8c0fe3f2ed229fa31d1e5.zip
staging/nvec: update comment regarding udelay in the isr
Update the comment before the udelay on how to replace it. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Link: https://lore.kernel.org/r/20240218212557.22836-1-marvin24@gmx.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/nvec/nvec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 2823cacde130..282a664c9176 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);