diff options
| author | Marek Vasut <[email protected]> | 2024-06-09 23:32:15 +0200 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2024-07-05 14:00:22 +0200 |
| commit | 7f1b062ca4f23ea77541006759c1ec1108bdda74 (patch) | |
| tree | 0cfe5697d7a046b47e059ef91b2d4001a733cbfe /include | |
| parent | 0fca00114a805ec3c68c6156bc4ae6c4214a6e8a (diff) | |
usb: gadget: ether: Drop usb_gadget_controller_number()
The bcdDevice field is defined as
|Device release number in binary-coded decimal
in the USB 2.0 specification. We use this field to distinguish the UDCs
from each other. In theory this could be used on the host side to apply
certain quirks if the "special" UDC in combination with this gadget is
used. This hasn't been done as far as I am aware. In practice it would
be better to fix the UDC driver before shipping since a later release
might not need this quirk anymore.
This patch converts this gadget to use the U-Boot version instead of a
random 2 or 3 plus the UDC number. Linux stopped using this functionality
in 2012, remove it from U-Boot as well.
Matching Linux kernel commit:
ed9cbda63d45 ("usb: gadget: remove usb_gadget_controller_number()")
Signed-off-by: Marek Vasut <[email protected]>
Tested-by: Alexander Sverdlin <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Tested-by: Mattijs Korpershoek <[email protected]> # on vim3
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
