usb: cdc_acm: add locks around `ring_buf_put`
The ring buffer API is explicitly not thread safe, with users needing to
implement their own locking. As `poll_out` and `fifo_fill` are operating
on the same ringbuffer, these locks are needed.
Signed-off-by:
Jordan Yates <jordan@embeint.com>
Loading
Please sign in to comment