diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2019-10-01 17:26:32 +0530 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-11-07 00:24:59 +0100 |
commit | 8d94e184ffdef48b40942c12d9e7b0290e60a1ef (patch) | |
tree | 8f6547f3fd61852bbd63e9099fde2fee4f9b9980 /scripts | |
parent | 77dcbdf3c1ce96de19c00caca0766b5bbaa0cf28 (diff) | |
download | u-boot-8d94e184ffdef48b40942c12d9e7b0290e60a1ef.zip u-boot-8d94e184ffdef48b40942c12d9e7b0290e60a1ef.tar.gz u-boot-8d94e184ffdef48b40942c12d9e7b0290e60a1ef.tar.bz2 |
usb: udc: Introduce ->udc_set_speed() method
This patch was copied from kernel commit: 67fdfda4a99ed.
Sometimes, the gadget driver we want to run has max_speed lower than
what the UDC supports. In such situations, UDC might want to make sure
we don't try to connect on speeds not supported by the gadget
driver because that will just fail.
So here introduce a new optional ->udc_set_speed() method which can be
implemented by interested UDC drivers to achieve this purpose.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions