Re: [PATCH] usb gadget: fix null pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yang Rui Rui wrote:
“USB_GADGET_MUSB_HDRC” selets “USB_GADGET_DUALSPEED” though so I'm a bit
confused why it won't kick in.

Sebastian, thanks for the info, I use musb gadget.

I tried select USB_GADGET_DUALSPEED in 'config USB_MUSB_HDRC' and I can confirm it fixed the bug.

If it is the right way I will send the patch out.

How will that patch look like? In my tree USB_MUSB_HDRC already selects
USB_GADGET_DUALSPEED. It sounds like there is some other detail missing.

IIRC, patches some time ago made it possible to compile in several UDC
drivers
so my understanding is that CONFIG_USB_GADGET_DUALSPEED should not be used
any
more since some UDC drivers can be dual speed and others might not. Felipe
will probably be able to confirm or deny.

Oh. Nasty little thing. Indeed, this could cause harm for driver which do
not support DUALSPEED and it gets enabled via another driver.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux