From: Wei Yongjun
The variable ep is initialized but never used
otherwise, so remove the unused variable.
Signed-off-by: Wei Yongjun
---
drivers/usb/gadget/f_uac2.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/gadget/f_uac2.c b/drivers/usb/gadget/f_ua
Hi,
drivers/usb/host/ehci-dbg.c git HEAD has:
if (strncmp(buf, "enable", 5) == 0) {
if (strict_strtoul(buf + 7, 10, &port))
return -EINVAL;
params = ehci_readl(ehci, &ehci->caps->hcs_params);
if (port > HCS_N_PORTS(pa
Hi,
This patch set trys to prepare for support of usb port power
off mechanism on non-ACPI devices. The port power off mechasnism
has been discussed for some time[1][2], and support for ACPI
devices has been in shape:
- usb port device is introduced
- port connect type is introduc
Power controller is an abstract on simple power on/off switch.
One power controller can bind to more than one device, which
provides power logically, for example, we can think one usb port
in hub provides power to the usb device attached to the port, even
though the power is supplied actually by o
The global device ADD/DEL notifier is introduced so that
some platform code can bind some device resource to the
device. When this platform code runs, there is no any bus
information about the device, so have to resort to the
global notifier.
Cc: Andy Green
Cc: Roger Quadros
Cc: Alan Stern
Cc:
This patch applies the power controller on usb port, so that
hub driver can power on one port which isn't provided power
by bus.
Cc: Andy Green
Cc: Roger Quadros
Cc: Alan Stern
Cc: Felipe Balbi
Signed-off-by: Ming Lei
---
drivers/usb/core/hub.c | 31 ---
inclu
This patch defines power controller for powering on/off LAN95xx
USB hub and USB ethernet devices, and implements one match function
to associate the power controller with related USB port device.
The big problem of this approach is that it depends on the global
device ADD/DEL notifier.
Another ide
From: Andy Green
This series migrates it to the hub driver as suggested by
Felipe Balbi.
Cc: Andy Green
Cc: Roger Quadros
Cc: Alan Stern
Cc: Felipe Balbi
Signed-off-by: Andy Green
Signed-off-by: Ming Lei
---
drivers/usb/host/ehci-omap.c | 36
1 file
Hi,
We are running kernel v3.5.7 on am3517 based hardware (CM-T3517 module).
Recently we faced with the following issue: am35x MUSB module fails when
trying to reinsert it.
It fails with the message "musb-hdrc.0: failed to claim resource 1", see
the console clip below:
root@cm-debian:~# modpr
On 02/12/12 23:01, the mail apparently from Ming Lei included:
Power controller is an abstract on simple power on/off switch.
One power controller can bind to more than one device, which
provides power logically, for example, we can think one usb port
in hub provides power to the usb device atta
On 02/12/12 23:01, the mail apparently from Ming Lei included:
The global device ADD/DEL notifier is introduced so that
some platform code can bind some device resource to the
device. When this platform code runs, there is no any bus
information about the device, so have to resort to the
global n
On 02/12/12 23:01, the mail apparently from Ming Lei included:
Hi -
This patch defines power controller for powering on/off LAN95xx
USB hub and USB ethernet devices, and implements one match function
to associate the power controller with related USB port device.
The big problem of this approac
Hello.
On 28-11-2012 18:49, Roger Quadros wrote:
clk_set_parent is expected to fail on OMAP3 platforms. We don't
consider that as fatal so don't spam console.
Signed-off-by: Roger Quadros
---
drivers/mfd/omap-usb-host.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
Hello.
On 28-11-2012 18:49, Roger Quadros wrote:
Both OMAP4 and 5 exhibit the same revision ID in the REVISION register
but they have different number of ports i.e. 2 and 3 respectively.
So we can't rely on REVISION register for number of ports on OMAP5
and depend on platform data (or device tr
On Sun, 2 Dec 2012, Andreas Mohr wrote:
> Hi,
>
> drivers/usb/host/ehci-dbg.c git HEAD has:
>
> if (strncmp(buf, "enable", 5) == 0) {
> if (strict_strtoul(buf + 7, 10, &port))
> return -EINVAL;
> params = ehci_readl(ehci, &ehci->caps->hcs_p
On Sat, 1 Dec 2012, Piergiorgio Sartor wrote:
> Hi Alan,
>
> I updated the bugzilla entry with some attachments.
>
> One (split in two) is the log from usbmon with the patch
> you provided (I hope I did it correctly).
This usbmon trace doesn't contain anything significantly different from
the p
On Sun, Dec 02, 2012 at 01:03:22PM -0500, Alan Stern wrote:
> On Sat, 1 Dec 2012, Piergiorgio Sartor wrote:
>
> > Hi Alan,
> >
> > I updated the bugzilla entry with some attachments.
> >
> > One (split in two) is the log from usbmon with the patch
> > you provided (I hope I did it correctly).
>
On Sun, 2 Dec 2012, Piergiorgio Sartor wrote:
> I'll give it another round, with dmesg
>
> How about the registers? Any hint there?
No, not really. At least, not that I can tell at this point; maybe
later on it will be more useful.
Alan Stern
--
To unsubscribe from this list: send the line "
Add device driver for USB2CAN interface from "8 devices"
(http://www.8devices.com).
Signed-off-by: Bernd Krumboeck
---
drivers/net/can/usb/Kconfig|6 +
drivers/net/can/usb/Makefile |1 +
drivers/net/can/usb/usb_8dev.c | 1098
3 files chang
On Mon, Dec 3, 2012 at 12:02 AM, Andy Green wrote:
> On 02/12/12 23:01, the mail apparently from Ming Lei included:
>
>> Power controller is an abstract on simple power on/off switch.
>>
>> One power controller can bind to more than one device, which
>> provides power logically, for example, we ca
On Mon, Dec 3, 2012 at 12:13 AM, Andy Green wrote:
> On 02/12/12 23:01, the mail apparently from Ming Lei included:
>
>> The global device ADD/DEL notifier is introduced so that
>> some platform code can bind some device resource to the
>> device. When this platform code runs, there is no any bus
On Mon, Dec 3, 2012 at 12:37 AM, Andy Green wrote:
> On 02/12/12 23:01, the mail apparently from Ming Lei included:
>
> Hi -
>
>
>> This patch defines power controller for powering on/off LAN95xx
>> USB hub and USB ethernet devices, and implements one match function
>> to associate the power contr
On 03/12/12 12:11, the mail apparently from Ming Lei included:
On Mon, Dec 3, 2012 at 12:37 AM, Andy Green wrote:
On 02/12/12 23:01, the mail apparently from Ming Lei included:
Hi -
This patch defines power controller for powering on/off LAN95xx
USB hub and USB ethernet devices, and impleme
On Fri, Nov 30, 2012 at 08:13:29PM -0800, Chris Moeller wrote:
> On Fri, 30 Nov 2012 14:30:23 -0800
> Dmitry Torokhov wrote:
>
> > Hi Chris,
> >
> > On Friday, November 30, 2012 01:54:06 PM Chris Moeller wrote:
> > > I've submitted versions of this with prior patch sets, and this part
> > > was
Sergei Shtylyov writes:
> On 28-11-2012 18:49, Roger Quadros wrote:
>> ret = clk_set_parent(omap->utmi_clk[0],
>> omap->xclk60mhsp1_ck);
>> if (ret != 0)
>> -dev_err(dev, "xclk60mhsp1_ck set parent"
>> +
25 matches
Mail list logo