[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: PROBLEM: Oops when unbinding an inactive gadget configfs configuration from UDC
From:       Felix_Hädicke <felixhaedicke () web ! de>
Date:       2016-11-30 23:31:52
Message-ID: 22105f3c-34c4-20f7-9966-5234e11b2986 () web ! de
[Download RAW message or body]

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic