From: Michal Nazarewicz
The File-backed Storage Gadget (g_file_storage) is being removed, since
it has been replaced by Mass Storage Gadget (g_mass_storage). This commit
changes defconfigs point to the new gadget.
Signed-off-by: Michal Nazarewicz
---
arch/arm/configs/afeb9260_defconfig
From: Michal Nazarewicz
storage_common.c has been used by both file_storage.c and f_mass_storage.c
which had some different requirements in a few places. To accomodate for
that, storage_common.c provided configuratian macros which were to be
defined (or not) prior to the file #inclusion. Becaus
From: Michal Nazarewicz
Since function-line macros are to be avoided, this commit replaces
the fsg_lun_is_open() macro with a static inline function.
While at it, this commit also adds “inline” modifier to the
fsg_lun_from_dev() function.
Signed-off-by: Michal Nazarewicz
---
drivers/usb/gadge
From: Michal Nazarewicz
Since g_file_storage has been removed, this commit removes code from
the storage_common.c file which has been used by file_storage.c only
(and not by f_mass_storage.c).
Signed-off-by: Michal Nazarewicz
---
drivers/usb/gadget/storage_common.c | 28 -
From: Michal Nazarewicz
This commit removes the /sys/devices/platform//udc//is_dualspeed
file and is_dualspeeed line from /sys/devices/platform/ci13xxx_*/udc/device
file.
The is_dualspeed file is superseded by maximum_speed in the same directory
and is_dualspeed line in device file is superseded
Hi,
You can't seem to use:
gpio = <&gpio1 0 0>;
inside of:
reg_usb_otg_vbus: usb_otg_vbus {
because that equates to a value of zero in config->ena_gpio
in drivers/regulator/core.c:
if (config->ena_gpio && gpio_is_valid(config->ena_gpio)) {
which means it won't drop into
> From: Michal Nazarewicz [mailto:m...@google.com] On Behalf Of Michal
> Nazarewicz
> Sent: Wednesday, October 31, 2012 1:10 PM
>
> On Wed, Oct 31 2012, Paul Zimmerman wrote:
> > Regarding that, would you guys accept a patch that adds the "buflen"
> > module parameter to the mass-storage gadget?
On Wed, Oct 31, 2012 at 11:41 PM, Alan Stern wrote:
>
> Sorry, I misread your message. You are setting the device's flag, not
> the thread's flag.
Never mind.
>
> This still doesn't help in this case where CONFIG_PM_RUNTIME is
> disabled. I think it will be simpler to set the noio flag during
This patch adds Renesas R-Car USB phy driver.
It supports R8A7779 chip at this point.
R-Car has some USB controllers, but has only one phy-initializer.
So, this driver is counting users.
Signed-off-by: Kuninori Morimoto
---
v5 -> v6
- used if (priv->counter++ == 0)
- used if (priv->counter--
>> In file_storage.c, send_status(), if (transport_is_bbb()), I add the
>> line
>> bh->inreq->buf = bh -> buf,
>>
>> and in get_next_command(), if (transport_is_bbb()), I add the line
>> bh->outreq->context = bh, to make the bh address to be the same.
>>
>> Is this patch ok?
> What patch? You
This patchset adds fully tested otg id switch function and
vbus connect/disconnect detection for chipidea driver.
The mainly design of id/vbus handling follows msm otg driver.
I hope the msm usb maintainer can have a look of this patchset,
and give some comments, and move the whole msm usb driver t
vbus register is at otgsc, and vbus detect does not belong
to device function. Revert this patch, and will move
vbus detect function to drivers/usb/chipidea/udc.c
This reverts commit 8c4fc031954b4eb72daf13d3c907a985a3eee208.
---
drivers/usb/chipidea/ci.h |1 -
drivers/usb/chipidea/udc.c |
The main design flow is the same with msm otg driver, that is the id and
vbus interrupt are handled at core driver, others are handled by
individual drivers.
- At former design, when switch usb role from device->host, it will call
udc_stop, it will remove the gadget driver, so when switch role
fro
- During the connect/disconnect host, we need to pullup
and pulldown dp
- Make sure the dp is not pullup until the vbus is on when
flag CI13XXX_PULLUP_ON_VBUS is set
Signed-off-by: Peter Chen
---
drivers/usb/chipidea/udc.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --g
- For host, the vbus should always be on.
- For otg, the vbus is off defaultly, the vbus needs to be
turned on/off when usb role switches.
Signed-off-by: Peter Chen
---
drivers/usb/chipidea/ci.h |2 +
drivers/usb/chipidea/ci13xxx_imx.c | 67 ++--
2
Hi,
On Wed, Oct 31, 2012 at 07:33:44PM +, Paul Zimmerman wrote:
> > From: linux-usb-ow...@vger.kernel.org
> > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Felipe Balbi
> > Sent: Wednesday, October 31, 2012 8:07 AM
> > On Wed, Oct 31, 2012 at 11:07:44AM -0400, Alan Stern wrote:
> > >
From: Wei Yongjun
The dereference should be moved below the NULL test.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun
---
drivers/usb/host/ehci-tegra.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/
101 - 117 of 117 matches
Mail list logo