commit | 924db97724d65a441f3422dbc05829ece8ff529a | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan@embeint.com> | Mon Apr 01 18:26:10 2024 +1000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jun 03 03:44:45 2024 -0700 |
tree | 50be5d3c19f64269edd473ec52f9d488563e13cc | |
parent | 71dcbdd29c08c4f411c136eeb3a41379d70b2510 [diff] |
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>