summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2017-09-12 13:25:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-13 15:12:02 -0700
commit2de8d9e5492637af77385421a6931e81653c7b29 (patch)
tree50345b2b5105669355a4b4fc2e1bb9c1144c2a49 /chip
parent2be8b69ddac0001638ca548b23c6cb50f71830b7 (diff)
downloadchrome-ec-2de8d9e5492637af77385421a6931e81653c7b29.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>
Diffstat (limited to 'chip')
-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 fbfcff17bd..5f5e595e4b 100644
--- a/chip/g/usb.c
+++ b/chip/g/usb.c
@@ -619,6 +619,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;