Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: device: cdc_acm: Warn once about full ring buffer
Generating separate log entry at INFO level for every single character dropped is excessive and leads to log flood. Logging dropped character in no way helps end user and is really a delayed performance killer that triggers when CDC ACM buffer gets full. If user does not want to lose outgoing characters then the solution is to enable hardware flow control which properly blocks in the case the output buffer is full. (cherry picked from commit d034106) Original-Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no> GitOrigin-RevId: d034106 Change-Id: I11d7ad482a884659ea3a27f9dfe1cfcb20fb4871 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5580448 Commit-Queue: Tristan Honscheid <honscheid@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Tested-by: Tristan Honscheid <honscheid@google.com> Reviewed-by: Tristan Honscheid <honscheid@google.com>
- Loading branch information