Re: [PATCH v2] USB: cdc-acm: restore the line coding after a reset-resume
From: Oliver Neukum
Date: Tue Dec 01 2026 - 05:22:08 EST
On 30.11.26 20:34, Piotr Kubik wrote:
To keep the driver consistent, I can add a macro next toHi,
acm_set_line(), something like:
#define __acm_set_line(acm, line) \
__acm_ctrl_msg(acm, USB_CDC_REQ_SET_LINE_CODING, 0, line, sizeof *(line))
and use it in acm_reset_resume(). Is that fine with you?
that is an excellent suggestion. Thank you for keeping the driver
consistent. Could you send a patch?
Regards
Oliver