mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
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 <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/267089 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
d927c3e5d9
commit
82ec2a52c5
@@ -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<<USB_EP_CONSOLE);
|
||||
GR_USB_DAINTMSK |= (1<<USB_EP_HID);
|
||||
}
|
||||
|
||||
USB_DECLARE_EP(USB_EP_HID, hid_tx, hid_tx, hid_reset);
|
||||
|
||||
Reference in New Issue
Block a user