summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2017-09-12 13:25:35 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-12-16 00:56:14 +0000
commit3bb8b0e0db724c6998ef68a591c15440d0861e90 (patch)
tree9d5ca05a47d71f24271e09a2235c90f155ff9942
parentecfec3d7fd7a3330ca1ec6ab98bf4803fab8ff01 (diff)
downloadchrome-ec-3bb8b0e0db724c6998ef68a591c15440d0861e90.tar.gz
cr50: disable error printout on USB_DT_DEBUG
lsusb scans for USB_DT_DEBUG, which produces logspam on the cr50 console. This isn't an error, just unimplemented. Remove the printout. BRANCH=cr50 BUG=b:65407184 TEST=no logspam on lsusb Signed-off-by: Nick Sanders <nsanders@chromium.org> Change-Id: Ib4fc7105015506927f45ee02f587f97e46e1ad9b Reviewed-on: https://chromium-review.googlesource.com/663786 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit 2de8d9e5492637af77385421a6931e81653c7b29) Reviewed-on: https://chromium-review.googlesource.com/828414 Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--chip/g/usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/usb.c b/chip/g/usb.c
index 95c40c595f..ea791fa15a 100644
--- a/chip/g/usb.c
+++ b/chip/g/usb.c
@@ -623,6 +623,8 @@ static int handle_setup_with_in_stage(enum table_case tc,
case USB_DT_DEVICE_QUALIFIER:
/* We're not high speed */
return -1;
+ case USB_DT_DEBUG:
+ return -1;
default:
report_error(type);
return -1;