[SRU][M:raspi][PATCH] UBUNTU: SAUCE: Revert "usb: misc: onboard-hub: add support for Microchip USB2514B USB 2.0 hub"

Stefan Bader stefan.bader at canonical.com
Fri Nov 17 08:20:04 UTC 2023


On 16.11.23 16:54, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/2039786
> 
> This reverts commit 43993626de00f8faea2cf4d54aaea8f607331fcf.
> 
> When the driver loads, all attached USB devices are reconnected, which
> breaks boot from USB. Temporarily revert support for this hub until
> a proper fix is available, it's not needed on Pi anyways.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
> ---
>   drivers/usb/misc/onboard_usb_hub.c | 2 --
>   drivers/usb/misc/onboard_usb_hub.h | 1 -
>   2 files changed, 3 deletions(-)
> 
> diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c
> index 83f14ca1d38e..4a4056c09962 100644
> --- a/drivers/usb/misc/onboard_usb_hub.c
> +++ b/drivers/usb/misc/onboard_usb_hub.c
> @@ -330,7 +330,6 @@ static struct platform_driver onboard_hub_driver = {
>   /************************** USB driver **************************/
>   
>   #define VENDOR_ID_GENESYS	0x05e3
> -#define VENDOR_ID_MICROCHIP	0x0424

This removes the VENDOR_ID_MICROCHIP

>   #define VENDOR_ID_REALTEK	0x0bda
>   #define VENDOR_ID_TI		0x0451
>   #define VENDOR_ID_VIA		0x2109
> @@ -409,7 +408,6 @@ static void onboard_hub_usbdev_disconnect(struct usb_device *udev)
>   static const struct usb_device_id onboard_hub_id_table[] = {
>   	{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 */
>   	{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 */
> -	{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 */
>   	{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 */

But here only one definition is removed.  I guess there is some other 
patch missing.

>   	{ USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 */
>   	{ USB_DEVICE(VENDOR_ID_REALTEK, 0x5411) }, /* RTS5411 USB 2.1 */
> diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h
> index aca5f50eb0da..b96a26a9f746 100644
> --- a/drivers/usb/misc/onboard_usb_hub.h
> +++ b/drivers/usb/misc/onboard_usb_hub.h
> @@ -35,7 +35,6 @@ static const struct onboard_hub_pdata vialab_vl817_data = {
>   };
>   
>   static const struct of_device_id onboard_hub_match[] = {
> -	{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
>   	{ .compatible = "usb424,2517", .data = &microchip_usb424_data, },
>   	{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
>   	{ .compatible = "usb451,8142", .data = &ti_tusb8041_data, },

-- 
- Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231117/6cd499c3/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231117/6cd499c3/attachment-0001.sig>


More information about the kernel-team mailing list