Re: [PATCH v3] f_midi_complete to call tasklet_hi_schedule

From: Jillian Donahue
Date: Mon Feb 10 2025 - 12:18:35 EST


Ah yea, this error happens because in this commit:
https://github.com/torvalds/linux/commit/8653d71ce3763aedcf3d2331f59beda3fecd79e4
the tasklets are replaced with works. Should I request the patch to be
in v5.10 or should I update the fix to use
queue_work(system_highpri_wq, &midi->work) ?

> >> drivers/usb/gadget/function/f_midi.c:286:31: error: no member named 'tasklet' in 'struct f_midi'
> 286 | tasklet_hi_schedule(&midi->tasklet);
> | ~~~~ ^
> 1 error generated.

Jill