From 82ec2a52c5ae7e4316d0aba15137876489f94398 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 24 Apr 2015 10:44:47 -0700 Subject: [PATCH] cr50: Enable IN interrupts for USB HID EP. This fixes a slight mistake where we were enabling the wrong interrupt (EP1 instead of EP2). I'm not sure that this is necessary, since we don't actually do anything about these interrupts except clear them. BUG=none BRANCH=none TEST=manual To test, I instrumented the hid_tx() interrupt handler. Before this CL, it never fired. Now it does. Change-Id: Iaa5816ec78f70ef101d4663c08842678ddc7d2f9 Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/267089 Reviewed-by: Vincent Palatin --- chip/g/usb_hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/g/usb_hid.c b/chip/g/usb_hid.c index 5a34f491a3..ebe88b28e7 100644 --- a/chip/g/usb_hid.c +++ b/chip/g/usb_hid.c @@ -114,7 +114,7 @@ static void hid_reset(void) GR_USB_DIEPCTL(USB_EP_HID) = DXEPCTL_MPS(HID_REPORT_SIZE) | DXEPCTL_USBACTEP | DXEPCTL_EPTYPE_INT | DXEPCTL_TXFNUM(USB_EP_HID); - GR_USB_DAINTMSK |= (1<