Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de839b8f authored by Julian Andres Klode's avatar Julian Andres Klode Committed by Greg Kroah-Hartman
Browse files

staging: nvec: Add a udelay(100) to nvec_interrupt



As the comment indicates, adding that udelay seems to
improve the stability of the communication, although
it is not known why this is the case.

Signed-off-by: default avatarJulian Andres Klode <jak@jak-linux.org>
Acked-by: default avatarMarc Dietrich <marvin24@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 12b5a55d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -656,6 +656,15 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
		status & RCVD ? " RCVD" : "",
		status & RNW ? " RNW" : "");


	/*
	 * TODO: A correct fix needs to be found for this.
	 *
	 * We experience less incomplete messages with this delay than without
	 * it, but we don't know why. Help is appreciated.
	 */
	udelay(100);

	return IRQ_HANDLED;
}