Subject: Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually
clear the UDC
* Krzysztof Opasiak k.opas...@samsung.com [140922 01:07]:
Dear Tony,
-Original Message-
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-
ow...@vger.kernel.org] On Behalf Of Tony Lindgren
Szyprowski; Karol Lewandowski;
philippedesw...@gmail.com
Subject: Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually
clear the UDC
* Krzysztof Opasiak k.opas...@samsung.com [140922 01:07]:
Dear Tony,
-Original Message-
From: linux-usb-ow...@vger.kernel.org
Subject: Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually
clear the UDC
* Krzysztof Opasiak k.opas...@samsung.com [140923 03:22]:
-Original Message-
From: Tony Lindgren [mailto:t...@atomide.com]
Sent: Monday, September 22, 2014 3:17 PM
To: Krzysztof Opasiak
Cc: 'Matt
* Krzysztof Opasiak k.opas...@samsung.com [140923 07:48]:
From: Tony Lindgren [mailto:t...@atomide.com]
Is there an example somewhere that completely clears any configured
gadget from /sys/config/?
Yes, please check my master branch.
There is a set of functions: usbg_rm_*() which
Pietrasiewicz; Marek Szyprowski; Karol Lewandowski;
philippedesw...@gmail.com
Subject: Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually
clear the UDC
* Krzysztof Opasiak k.opas...@samsung.com [140922 01:07]:
Dear Tony,
-Original Message-
From: linux-usb-ow
Dear Tony,
-Original Message-
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-
ow...@vger.kernel.org] On Behalf Of Tony Lindgren
Sent: Saturday, September 20, 2014 5:51 PM
To: Matt Porter
Cc: linux-usb@vger.kernel.org
Subject: [PATCH] libusbg: Fix usbg_disable_gadget
@vger.kernel.org
Subject: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear
the UDC
Currently usbg_disable_gadget() does not actually write anything
to UDC to clear it and the configured UDC name stays there.
No, udc name doesn't stay there due to O_TRUNC flag which is always used