commit | d54b7afffb4c2de8b140760fd3773c40425e44e8 | [log] [tgz] |
---|---|---|
author | Yu-Hsuan Hsu <yuhsuan@chromium.org> | Thu Jul 09 21:12:25 2020 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Sun Jul 12 14:25:33 2020 +0000 |
tree | ddccb4b272833365db162804c57617924a871e2c | |
parent | 1cfc1dc496821d3c5d8d160cc10941b25b9f95a0 [diff] |
CRAS: cras_iodev - Log device overruns If the hw_level is unreasonably high and reach to the device's buffer size, send a log and event to avoid losing those data. BUG=b:156100413 TEST=Log the event successfully. Change-Id: Ia5e656ae80cdace79eec967b87936baae580a2c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2288720 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org> Commit-Queue: Yu-Hsuan Hsu <yuhsuan@chromium.org>