aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci.h
diff options
context:
space:
mode:
authorMichael Grzeschik <[email protected]>2022-06-16 19:44:59 +0000
committerGreg Kroah-Hartman <[email protected]>2022-06-21 14:40:51 +0000
commit8709115180c612bd8e6686a7b6c6fe94e5b51cdc (patch)
tree7fa12eacb8c45377e976e3536f3b0c32168efd31 /drivers/usb/chipidea/ci.h
parentusb: host: ehci-q: Fix ehci_submit_single_step_set_feature annotation typo (diff)
downloadkernel-8709115180c612bd8e6686a7b6c6fe94e5b51cdc.tar.gz
kernel-8709115180c612bd8e6686a7b6c6fe94e5b51cdc.zip
usb: chipidea: udc: implement get_frame
The chipidea udc core is capable of reading the current frame index from hardware. This patch adds the get_frame callback to the driver. Acked-by: Peter Chen <[email protected]> Signed-off-by: Michael Grzeschik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
-rw-r--r--drivers/usb/chipidea/ci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index 99440baa6458..a4a3be049910 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -49,6 +49,7 @@ enum ci_hw_regs {
OP_USBCMD,
OP_USBSTS,
OP_USBINTR,
+ OP_FRINDEX,
OP_DEVICEADDR,
OP_ENDPTLISTADDR,
OP_TTCTRL,