The kref used to be needed because sharing of fsg_common among multiple USB
function instances was handled by fsg. Now this is managed by configfs, we
don't need it anymore. So let's eliminate kref from this driver.
Signed-off-by: Jaejoong Kim
---
Changes in V2:
- Rewrite commit title & message
fsg_common_set_num_buffers() may fail due to ENOMEM. So add
error handling for fail case.
Acked-by: Alan Stern
Acked-by: Michal Nazarewicz
Signed-off-by: Jaejoong Kim
---
Changes in V2:
Add Acked-by
drivers/usb/gadget/function/f_mass_storage.c | 4 +++-
1 file changed, 3 insertions(+), 1 de
Hi
This series remove the reference counting and add error handling.
Changes in V2:
- patch #1. Add Ack-by
- patch #2.
Remove kref suggested by Alan and Michal
Update commit message.
Jaejoong Kim (2):
usb: gadget: storage: Add error handling for no memory
usb: gadget: storage: Re
Hello Minas,
On Thu, May 10, 2018 at 11:44 AM Martin Blumenstingl
wrote:
>
> Hello Minas,
>
> On Mon, May 7, 2018 at 3:27 PM, Minas Harutyunyan
> wrote:
> > Hi Martin,
> >
> > On 5/7/2018 12:28 AM, Martin Blumenstingl wrote:
> >> Hello,
> >>
> >> I was a bit surprised to see that hot-plugging US
I no longer have suitable hardware for testing this patch. If anyone
with an OHCI host controller could try it out, I would like to hear if
it causes any problems.
Thank you all.
Alan Stern
Index: usb-4.x/drivers/usb/host/pci-quirks.c
Control_config is a group under gadget that acts
as a normal config group, except it does not
appear in cdev->configs.
Functions that have exactly zero descriptors can
be linked into control_config. These functions
are bound and unbound with the rest of the gadget,
but are never enabled. Also, fun
This flag allows users to directly specify when
they want a ffs instance to be used for handling
control requests only via the configfs control_config/
group. When the flag is set, user must set *none*
of the speed descriptor flags and provide no
speeds in the descriptor. This ensures that it
canno
Add explanation and examples of how to set up
control request handling with configfs.
Signed-off-by: Jerry Zhang
---
Changes in V2:
Added changelog text
Documentation/usb/gadget_configfs.txt | 34 +++
1 file changed, 34 insertions(+)
diff --git a/Documentation/usb/g
On 3 July 2018 at 09:56, Doug Anderson wrote:
> Hi,
>
> On Sun, Jul 1, 2018 at 11:30 PM, Antti Seppälä wrote:
>> On 30 June 2018 at 02:57, Doug Anderson wrote:
>>> Hi,
>>>
>>> On Fri, Jun 29, 2018 at 11:29 AM, Antti Seppälä wrote:
Hi Doug, John and linux-usb.
I'd like to report a
Hi,
On 10-06-18 16:01, Hans de Goede wrote:
Bay Trail / BYT SoCs do not have a builtin device-mode phy, instead
they require an external ULPI phy for device-mode.
Only some BYT devices have an external phy, but even on those devices
device-mode is not working because the dwc3 does not see the p
On Tue, Jul 03, 2018 at 07:52:07AM -0300, Fabio Estevam wrote:
> Hi Shawn,
>
> On Tue, Jul 3, 2018 at 12:40 AM, Shawn Guo wrote:
>
> > We can have the options in defconfig, but they can still be turned off
> > for whatever reason and we get the hang. Really, missing a user
> > selectable option
Hi Shawn,
On Tue, Jul 3, 2018 at 12:40 AM, Shawn Guo wrote:
> We can have the options in defconfig, but they can still be turned off
> for whatever reason and we get the hang. Really, missing a user
> selectable option in defconfig shouldn't result in a system hang.
Yes, 100% agree and this is
Hi here
There are a lot of emails on this list. Do you use a bug tracker?
Otherwise, I can unsubscribe, and anyone can email me on j...@jguk.org if
they want to work on it.
Regards
Jonny
On 02/07/18 21:20, Jonny Grant wrote:
Hi!
My ZyDAS USB wifi works well on other laptop, and this lapto
* Adam Ford [180624 17:15]:
>
> It currently doesnt' work, but I am looking for ideas on
> what I may have missed or done incorrectly.
Check the drivers/phy/ti driver part and make sure that
works and has pins and clocks configured.
The rest should be pretty much generic stuff for musb
as lon
* Adam Ford [180625 00:15]:
> The pin muxing and clock definitions for the MUSB controller are
> not done through the same registers/pin mux options, so this
> explicitly configures the registers and pin-mux options for MUSB
> on AM3517-EVM
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm
15 matches
Mail list logo