From: Marc Dietrich Date: Sun, 18 Feb 2024 21:25:56 +0000 (+0100) Subject: staging/nvec: update comment regarding udelay in the isr X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6dde7d5fbdc3ad2c03c8c0fe3f2ed229fa31d1e5;p=linux.git 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 Link: https://lore.kernel.org/r/20240218212557.22836-1-marvin24@gmx.de Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 2823cacde1309..282a664c91763 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);