usb/gadget/NCM: Replace tasklet with softirq hrtimer
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Dec 2017 10:42:04 +0000 (11:42 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 16 Jan 2018 08:51:23 +0000 (09:51 +0100)
commitb1a31a5f5f27ff8aba42b545a1c721941f735107
tree595c4b6df1e52a742a452d0f586a25df326af8ca
parentb03bbbe08ff04d80136b6aac152954ef308a4909
usb/gadget/NCM: Replace tasklet with softirq hrtimer

The tx_tasklet tasklet is used in invoke the hrtimer (task_timer) in
softirq context. This can be also achieved without the tasklet but
with HRTIMER_MODE_SOFT as hrtimer mode.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: keescook@chromium.org
Cc: linux-usb@vger.kernel.org
Link: http://lkml.kernel.org/r/20171221104205.7269-36-anna-maria@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/usb/gadget/function/f_ncm.c