staging/nvec: update comment regarding udelay in the isr
authorMarc Dietrich <marvin24@gmx.de>
Sun, 18 Feb 2024 21:25:56 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2024 08:46:58 +0000 (09:46 +0100)
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>
drivers/staging/nvec/nvec.c

index 2823cacde130937f33638604c89d1d077647df60..282a664c917634a6170c5f3a4294866aad8deeb5 100644 (file)
@@ -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);