Re: [PATCH v3] f_midi_complete to call tasklet_hi_schedule

Jillian Donahue
2025-02-10T17:18:26Z

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