Re: PROBLEM: Oops when unbinding an inactive gadget configfs configuration from UDC

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

 



Hello,

> I had expected that writing "dummy_udc.0" to
> /sys/kernel/config/usb_gadget/gser/UDC would fail, because the UDC is
> already bound to another gadget configuration
> (/sys/kernel/config/usb_gadget/acm/UDC). However, this doesn't give me
> an error, but the ACM configuration remains active.

After investigating this further, I came to the conclusion that the
false success report after trying to bind the second gadget
configuration to the UDC is the actual cause for the oops.
See bugfix propsal for a more detailed description:
[PATCH] usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()

Regards,
Felix
--
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