Skip to content
Commit 924db977 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

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: default avatarJordan Yates <jordan@embeint.com>
parent 71dcbdd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment