From bf54c2cc5c58fc5de082f8a94fb11cc3998e4d15 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 4 Nov 2015 16:11:38 -0800 Subject: libpayload/udc: dwc2: Add handler for add_strings BUG=b:24676003 BRANCH=None TEST=Compiles successfully. fastboot devices shows serial number for shark. Change-Id: I61d6c168fa458d1f880bc566db997aa5d6398361 Signed-off-by: Patrick Georgi Original-Commit-Id: 45b286b318281aea9a4b0362c9259d748b66fd28 Original-Change-Id: Ib9cc22de9daa6c5ec9cde1e62c6f5f768e946069 Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/310984 Original-Commit-Ready: Furquan Shaikh Original-Tested-by: Furquan Shaikh Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/12348 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/drivers/udc/dwc2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/drivers/udc') diff --git a/payloads/libpayload/drivers/udc/dwc2.c b/payloads/libpayload/drivers/udc/dwc2.c index 3c9b1576c2..dc9eb7c3f5 100644 --- a/payloads/libpayload/drivers/udc/dwc2.c +++ b/payloads/libpayload/drivers/udc/dwc2.c @@ -920,6 +920,7 @@ struct usbdev_ctrl *dwc2_udc_init(device_descriptor_t *dd) ctrl->poll = dwc2_check_irq; ctrl->add_gadget = udc_add_gadget; + ctrl->add_strings = udc_add_strings; ctrl->enqueue_packet = dwc2_enqueue_packet; ctrl->force_shutdown = dwc2_force_shutdown; ctrl->shutdown = dwc2_shutdown; -- cgit v1.2.3