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

Commit 8501d21f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: epl: hr timers all run in hard irq context now



Because of this, we can't set the mode for the timer, so delete this
code as it causes a build error right now.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 833dfbe7
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -225,13 +225,6 @@ tEplKernel PUBLIC EplTimerHighReskAddInstance(void)
		hrtimer_init(pTimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
		hrtimer_init(pTimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);


		pTimer->function = EplTimerHighReskCallback;
		pTimer->function = EplTimerHighReskCallback;

		/*
		 * We use HRTIMER_CB_SOFTIRQ here.
		 * HRTIMER_CB_IRQSAFE is critical as the callback function
		 * would be called with IRQs disabled.
		 */
		pTimer->cb_mode = HRTIMER_CB_SOFTIRQ;
	}
	}


	return Ret;
	return Ret;