Re: Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Thomas Tj
Dear Dan Thanks for the reply. * PF the output(log.txt) of the below command. lsusb -v -d 12d1:140b * USB_Modeswitch operation also i've done. * Please let me know how to get the WWAN (I thing it's WLAN) connection manager in the ARM Board. (while connecting the USB broadband modem in x86, it

Re: [PATCH] usb: wusbcore: fix build warning on 64-bit builds

2013-09-30 Thread Greg KH
On Mon, Sep 30, 2013 at 10:48:46PM -0500, Thomas Pugliese wrote: > Fix a build warning found by the kbuild test robot in the most recent > wusbcore patches. > > Signed-off-by: Thomas Pugliese You forgot a "Reported-by:" line here :( I'll go add it... Oh, does this fix all 3 of the build warni

Re: [PATCH 1/1] usb: gadget: mark init as late_initcall

2013-09-30 Thread Marek Vasut
Dear Chen Peter-B29397, > > > Since we introduce -EPROBE_DEFER for udc driver, it will be > > > probed at late_initcall if it is defered. When the gadget > > > is built in, it will return "couldn't find an available UDC" > > > at such case. That's the problem we met at below link: > > > > > > htt

[PATCH] usb: wusbcore: fix build warning on 64-bit builds

2013-09-30 Thread Thomas Pugliese
Fix a build warning found by the kbuild test robot in the most recent wusbcore patches. Signed-off-by: Thomas Pugliese --- drivers/usb/wusbcore/wa-xfer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/wusbcore/wa-xfer.c b/drivers/usb/wusbcore/wa-xfer.c index

RE: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Paul Zimmerman
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Monday, September 30, 2013 6:09 PM > > Yeah. I guess it's fine... I was going to suggest adding the + 1 in a > different place but actually it doesn't matter. > > The key to understanding dwc2_set_param_host_channels() is that the

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dan Carpenter
Yeah. I guess it's fine... I was going to suggest adding the + 1 in a different place but actually it doesn't matter. The key to understanding dwc2_set_param_host_channels() is that the "val" parameter is always -1. That means it always returns -EINVAL and the caller jumbles the error code in w

XHCI: Question regarding process_ctrl_td()

2013-09-30 Thread hemantk
Hi I have question regarding code snippet in process_ctrl_td() if (event_trb == td->last_trb) { if (td->urb->actual_length != 0) { /* Don't overwrite a previously set error code */

Re: USB reset xhci_hcd for ELAN touchscreen

2013-09-30 Thread Sarah Sharp
Hi Drew! I'm the xHCI driver maintainer, and it helps to Cc me on issues with USB devices under xHCI hosts. On Sun, Sep 29, 2013 at 11:14:47AM -0500, Drew Von Spreecken wrote: > I have an Elan touchscreen that is causing USB resets and errors at > boot and intermittently during use. The touchscre

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dinh Nguyen
On Tue, 2013-10-01 at 01:25 +0300, Dan Carpenter wrote: > On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: > > From: Dinh Nguyen > > > > The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding > > a 1 to a 0xf results in a 0 for host_channels. Thus, the driv

Re: [PATCH 0/4] usb: musb: support for suspend and resume

2013-09-30 Thread Daniel Mack
On 26.09.2013 15:08, Daniel Mack wrote: > I've been working on some patches that allow suspending and resuming > the musb-dsps platform. This was tested for host mode only. > > With these patches applied, I can successfully bring an AM335x board > to suspend with a USB media connected, and access

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dinh Nguyen
Hi Dan, On Tue, 2013-10-01 at 01:25 +0300, Dan Carpenter wrote: > On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: > > From: Dinh Nguyen > > > > The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding > > a 1 to a 0xf results in a 0 for host_channels. Thus,

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dan Carpenter
On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: > From: Dinh Nguyen > > The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding > a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always > thinking it had 0 host channels. > > Represent th

Re: [PATCH] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dan Carpenter
On Mon, Sep 30, 2013 at 04:54:51PM -0500, dingu...@altera.com wrote: > From: Dinh Nguyen > > The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding > a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always > thinking it had 0 host channels. > > Represent th

[PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread dinguyen
From: Dinh Nguyen The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels. Represent the correct number of host channels by using the host_channels variable of dwc2_core_

[PATCH] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread dinguyen
From: Dinh Nguyen The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels. Represent the correct number of host channels by using the host_channels variable of dwc2_core_

Strange beahviour on usb ir receiver

2013-09-30 Thread lionel
Hi all, I have a usb ir for pc IR remote controlleur. It emululate keyboard and mouse. Two kind of usb receiver even it looks like the same The bug is in the second, the power button on the USB remote is not functionnal (no message no event...) Here is the log from the first ... Sep 30 21:36:4

[PATCH] usb: wusbcore: clean up urb dequeue process

2013-09-30 Thread Thomas Pugliese
This patch updates URB dequeue handling in wusbcore to make it more reliable when a URB has been broken up into multiple WUSB transfer request segments. In wa_urb_dequeue, don't mark segments in the WA_SEG_SUBMITTED, WA_SEG_PENDING or WA_SEG_DTI_PENDING states as completed if an ABORT TRANSFER

Re: [PATCH 5/5] usb: phy: tegra-usb: Remove redundant of_match_ptr

2013-09-30 Thread Stephen Warren
On 09/29/2013 10:14 PM, Sachin Kamat wrote: > The data structure of_match_ptr() protects is always compiled in. > Hence of_match_ptr() is not needed. Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.

Re: [PATCH] USB: EHCI: tegra: drop clk_put for devm_clk_get in tegra_ehci_probe()

2013-09-30 Thread Stephen Warren
On 09/27/2013 02:22 AM, Wei Yongjun wrote: > From: Wei Yongjun > > devm_clk_get() is used so there is no reason to explicitly > call clk_put() in probe or remove functions. Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Dan Williams
> Is there a commit id for this, please? and, where can I find this patch? I > would like to try this on my machine as I have a device that does not > enumerate on xhci only. > Not upstream yet, but you can give the attached one a try. -- Dan xhci-new-scheme.patch Description: Binary data

Re: [PATCH] net: qmi_wwan: fix Cinterion PLXX product ID

2013-09-30 Thread David Miller
From: Schmiedl Christian Date: Thu, 26 Sep 2013 16:02:13 +0200 > Aleksander Morgado writes: > >> Cinterion PLXX LTE devices have a 0x0060 product ID, not 0x12d1. >> >> The blacklisting in the serial/option driver does actually use the >> correct PID, as per commit 8ff10bdb14a52e3f25d4ce09e0582a

[PATCH v2 RESEND 3/3] usb: musb: ux500: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This removes the DEV_PM_OPS macro and brings this file in line with the other musb platform drivers. Signed-off-by: Daniel Mack --- drivers/usb/musb/ux500.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c inde

Re: [PATCH 1/2] net: qmi_wwan: add Telit LE920 newer firmware support

2013-09-30 Thread David Miller
From: Fabio Porcedda Date: Wed, 25 Sep 2013 11:21:25 +0200 > Newer firmware use a new pid and a different interface. > > Signed-off-by: Fabio Porcedda Applied to net-next -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.o

Re: [PATCH 2/2] net: qmi_wwan: fix checkpatch warnings

2013-09-30 Thread David Miller
From: Fabio Porcedda Date: Wed, 25 Sep 2013 11:21:26 +0200 > Signed-off-by: Fabio Porcedda Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/ma

[PATCH v2 RESEND 2/3] usb: musb: blackfin: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This makes bfin_pm_ops const and will stub the struct out in case CONFIG_PM_SLEEP is not set. Signed-off-by: Daniel Mack --- drivers/usb/musb/blackfin.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c in

[PATCH v2 RESEND 1/3] usb: musb: am35x: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This makes am35x_pm_ops const and will stub the struct out in case CONFIG_PM_SLEEP is not set. Signed-off-by: Daniel Mack --- I'm resending this series because I've just learned that SIMPLE_DEV_PM_OPS will stub itself out in case CONFIG_PM_SLEEP is not set. That makes the the code even smaller.

Re: [PATCH 2/2] net: qmi_wwan: fix checkpatch warnings

2013-09-30 Thread David Miller
From: Bjørn Mork Date: Wed, 25 Sep 2013 15:31:39 +0200 > Sorry, I really don't see the point of this. Yes, the lines are longer > than 80 columns, but breaking them don't improve the readability at > all. On the contrary, IMHO. > > So NAK from me for this part. Sorry, breaking things up like

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Joe M
>> Change the enumeration scheme for xhci attached devices from: >> >>SetAddress >>GetDescriptor(8) >>GetDescriptor(18) >> >> ...to: >> >>GetDescriptor(64) >>SetAddress >>GetDescriptor(18) >> >> ...as some devices misbehave when encountering a SetAddress command >> prior to

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread Alan Stern
On Tue, 1 Oct 2013, yoma sophian wrote: > 2013/9/30 Alan Stern : > > On Mon, 30 Sep 2013, yoma sophian wrote: > > > >> hi all: > >> We are trying to make usb hibernate work on our embedded system. > >> below are configs we enable for system power management: > > > > Do you mean "hibernate" or "sle

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread yoma sophian
2013/9/30 Alan Stern : > On Mon, 30 Sep 2013, yoma sophian wrote: > >> hi all: >> We are trying to make usb hibernate work on our embedded system. >> below are configs we enable for system power management: > > Do you mean "hibernate" or "sleep"? it is a little complex to describe what we can. 1. D

Re: EHCI bus glue driver works for storage, fails for a WiFi module

2013-09-30 Thread Jussi Kivilinna
On 29.09.2013 02:50, Arokux X wrote: > Dear Alan, > >> I don't know. Did you run all these tests on the same computer? > > Yes, it is a single board computer, see image here: > > http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/A10_device_a1000_inside.jpg > > WLAN Adapter is left a

Re: [PATCH] usb: dwc3: add support for Merrifield

2013-09-30 Thread Felipe Balbi
Hi, On Thu, Sep 26, 2013 at 01:14:54PM -0700, Greg KH wrote: > On Thu, Sep 26, 2013 at 01:01:44PM -0700, David Cohen wrote: > > Add PCI id for Intel Merrifield > > > > Signed-off-by: David Cohen > > --- > > drivers/usb/dwc3/dwc3-pci.c | 2 ++ > > 1 file changed, 2 insertions(+) > > Nice, Felip

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Dan Williams
On Mon, Sep 23, 2013 at 4:29 PM, Dan Williams wrote: > Change the enumeration scheme for xhci attached devices from: > >SetAddress >GetDescriptor(8) >GetDescriptor(18) > > ...to: > >GetDescriptor(64) >SetAddress >GetDescriptor(18) > > ...as some devices misbehave when encou

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 4:59 PM, Alan Stern wrote: > On Mon, 30 Sep 2013, Markus Rechberger wrote: > >> to explain why Isochronous makes such a difference, the kernel driver >> doesn't do the memset anymore for each urb packet. >> However that patch addresses multiple issues >> * Isochronous impro

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, Markus Rechberger wrote: > to explain why Isochronous makes such a difference, the kernel driver > doesn't do the memset anymore for each urb packet. > However that patch addresses multiple issues > * Isochronous improvement by removing memset for each packet > * Pre-Allocatio

Re: Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Dan Williams
On Mon, 2013-09-30 at 08:37 +, Thomas TJ wrote: > I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. > It's detected as a usb device and the result of lsusb is > "Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 > Wireless Data Modem HSD USB Card" >

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, yoma sophian wrote: > hi all: > We are trying to make usb hibernate work on our embedded system. > below are configs we enable for system power management: Do you mean "hibernate" or "sleep"? > # > # Power management options > # > CONFIG_SUSPEND=y > CONFIG_SUSPEND_FREEZER=y

Re: [PATCH v2] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, Robert Baldyga wrote: > Hello, > This is update for my patch fixing maxpacket check in epautoconfig. Now code > is better arranged for clearity and take into account super speed devices, > as Alan Stern suggested. > > This patch fixes validation of maxpacket value given in en

[PATCH 4/4] xhci: Enable LPM support only for hardwired or BESL devices

2013-09-30 Thread Mathias Nyman
Some usb3 devices falsely claim they support usb2 hardware Link PM when connected to a usb2 port. We only trust hardwired devices or devices with the later BESL LPM support to be LPM enabled as default. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci.c | 16 +++- 1 file chan

[PATCH 3/4] usb: move usb_get_hub_port_connect_type() to include/linux/usb.h

2013-09-30 Thread Mathias Nyman
Host drivers will need to know the port connection type for link PM settings. Move usb_get_hub_port_connect_type() from usb/core/usb.h to include/linux/usb.h Signed-off-by: Mathias Nyman --- drivers/usb/core/hub.c |1 + drivers/usb/core/usb.h |2 -- include/linux/usb.h|2 ++ 3 fi

[PATCH 2/4] usb: Disable USB 2.0 Link PM before device reset.

2013-09-30 Thread Mathias Nyman
From: Sarah Sharp Before the USB core resets a device, we need to disable the L1 timeout for the roothub, if USB 2.0 Link PM is enabled. Otherwise the port may transition into L1 in between descriptor fetches, before we know if the USB device descriptors changed. LPM will be re-enabled after th

[PATCH 1/4] usb: Don't enable USB 2.0 Link PM by default.

2013-09-30 Thread Mathias Nyman
From: Sarah Sharp How it's supposed to work: -- USB 2.0 Link PM is a lower power state that some newer USB 2.0 devices support. USB 3.0 devices certified by the USB-IF are required to support it if they are plugged into a USB 2.0 only port, or a USB 2.0 cable is used. U

[PATCH 0/4] USB 2.0 Link PM broken (updated series v2)

2013-09-30 Thread Mathias Nyman
Add two patches to the first series to enable Link PM for hardwired, and BESL capable devices as default. This is otherwise the same series by Sarah that disables usb2 LPM as default for devices because usb3 devices may falsely claim usb2 LPM support when connected to a usb2 port. First series w

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Matthieu CASTET
Le Mon, 30 Sep 2013 14:50:12 +0100, Oliver Neukum a écrit : > On Mon, 2013-09-30 at 05:33 -0700, Greg KH wrote: > > On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: > > > From: Oliver Neukum > > > > > > Some controllers really do need much longer than the standard > > > allows

[PATCH] xhci: quirk for extra long delay for S4[V2]

2013-09-30 Thread oliver
From: Oliver Neukum It has been reported that this chipset really cannot sleep without this extraordinary delay. Signed-off-by: Oliver Neukum --- drivers/usb/host/xhci-pci.c | 8 drivers/usb/host/xhci.c | 9 +++-- drivers/usb/host/xhci.h | 1 + 3 files changed, 16 insertio

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 05:33 -0700, Greg KH wrote: > On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: > > From: Oliver Neukum > > > > Some controllers really do need much longer than the standard > > allows. > > > > Signed-off-by: Oliver Neukum > > --- > > drivers/usb/host/xhc

Re: PATCH: Ignore card reader interface on Huawei E1750

2013-09-30 Thread Michal Malý
On Monday 30 of September 2013 13:12:34 Bjørn Mork wrote: > Michal Malý writes: > > On Monday 30 of September 2013 12:19:41 you wrote: > >> Michal Malý writes: > >> > my Huawei 3G modem has an embedded Smart Card reader which causes > >> > trouble when the modem is being detected (a bunch of " >

[PATCH] usb: gadget: s3c-hsotg: fix CodingStyle issues

2013-09-30 Thread Bartlomiej Zolnierkiewicz
From: Pavel Machek checkpatch.pl has some valid complaints about style in s3c-hsotg.c: - macro with 'if' should be really enclosed in 'do {} while (0)' - seq_puts() is going to be slightly faster than seq_printf() - pr_err() is shorter than printk(KERN_ERR ...) Signed-off-by: Pavel Machek [bzol

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Greg KH
On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: > From: Oliver Neukum > > Some controllers really do need much longer than the standard > allows. > > Signed-off-by: Oliver Neukum > --- > drivers/usb/host/xhci.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > d

[PATCH] xhci: extra long delay for S4

2013-09-30 Thread oliver
From: Oliver Neukum Some controllers really do need much longer than the standard allows. Signed-off-by: Oliver Neukum --- drivers/usb/host/xhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 1e36dbb..8b7589d 1006

Re: [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-09-30 Thread Hans Verkuil
On 09/19/2013 11:44 PM, Russell King wrote: > Replace the following sequence: > > dma_set_mask(dev, mask); > dma_set_coherent_mask(dev, mask); > > with a call to the new helper dma_set_mask_and_coherent(). > > Signed-off-by: Russell King Acked-by: Hans Verkuil Regards, H

how to trigger function in usb_device_pm_ops

2013-09-30 Thread yoma sophian
hi all: We are trying to make usb hibernate work on our embedded system. below are configs we enable for system power management: # # Power management options # CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y # CONFIG_HIBERNATION is not set CONFIG_PM_SLEEP=y CONFIG_PM_SLEEP_SMP=y # CONFIG_PM_AUTOSLEEP is

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 1:26 PM, Markus Rechberger wrote: > On Mon, Sep 30, 2013 at 5:51 AM, Marcel Holtmann wrote: >> Hi Markus, >> Do you have a userspace test program that we can use to verify that this does work, and that others can use to run on some different pla

Re: [PATCH v2] USB: gadget: f_fs: fix error handling

2013-09-30 Thread Michal Nazarewicz
On Mon, Sep 30 2013, Robert Baldyga wrote: > Hello, > > This is update for my patch fixing error handling in functionfs module. > I have fixed typos from previous version, and changed description for greater > clearity as Sergei Shtylyov suggested. > > This patch add missing error check in ffs_func

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 5:51 AM, Marcel Holtmann wrote: > Hi Markus, > >>> Do you have a userspace test program that we can use to verify that this >>> does work, and that others can use to run on some different platforms to >>> verify that this is actually faster? >>> >> >

Re: PATCH: Ignore card reader interface on Huawei E1750

2013-09-30 Thread Bjørn Mork
Michal Malý writes: > On Monday 30 of September 2013 12:19:41 you wrote: >> Michal Malý writes: >> > my Huawei 3G modem has an embedded Smart Card reader which causes >> > trouble when the modem is being detected (a bunch of " >> > (ttyUSBx): open blocked by driver for more than 7 seconds!" in >>

Re: PATCH: Ignore card reader interface on Huawei E1750

2013-09-30 Thread Bjørn Mork
Michal Malý writes: > my Huawei 3G modem has an embedded Smart Card reader which causes > trouble when the modem is being detected (a bunch of " > (ttyUSBx): open blocked by driver for more than 7 seconds!" in > messages.log). This trivial patch corrects the problem for me. The > modem identifies

Re: [PATCH 3/3] xhci: Enable LPM support only for hardwired or BESL devices

2013-09-30 Thread Mathias Nyman
On 09/27/2013 10:02 PM, Julius Werner wrote: +#include "../core/usb.h" You might want to move usb_get_hub_port_connect_type() to include/linux/usb.h instead of doing this. Also, I think you need to mark it EXPORT_SYMBOL_GPL in core/hub.c or you could run into trouble when both xhci-hcd and usbc

[PATCH v2] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing maxpacket check in epautoconfig. Now code is better arranged for clearity and take into account super speed devices, as Alan Stern suggested. This patch fixes validation of maxpacket value given in endpoint descriptor. Added check of maxpacket for bulk end

[PATCH v2] USB: gadget: f_fs: fix error handling

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing error handling in functionfs module. I have fixed typos from previous version, and changed description for greater clearity as Sergei Shtylyov suggested. This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() function call fo

Re: [PATCH V5 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 04:50 +, Enrico Mioso wrote: > +static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) > +{ > + struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; > + int rv = 0; > + > + if ((on && atomic_add_return(1, &drvstate->pmcount) ==

Re: [PATCH v2 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode

2013-09-30 Thread Manu Gautam
On 9/28/2013 1:52 AM, Paul Zimmerman wrote: >> From: linux-usb-ow...@vger.kernel.org >> [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Manu Gautam >> Sent: Thursday, September 26, 2013 12:08 AM >> >> On 9/26/2013 2:10 AM, Felipe Balbi wrote: >>> >>> On Tue, Sep 24, 2013 at 03:00:20PM +0530,

Re: [PATCH V5 net-next 0/3] The huawei_cdc_ncm driver

2013-09-30 Thread Bjørn Mork
Enrico Mioso writes: > So this is a new, revised, edition of the huawei_cdc_ncm.c driver, which > supports devices resembling the NCM standard, but using it also as a mean > to encapsulate other protocols, as is the case for the Huawei E3131 and > E3251 modem devices. > Some precisations are ne

Re: Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 08:37 +, Thomas TJ wrote: > I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. > It's detected as a usb device and the result of lsusb is > "Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 > Wireless Data Modem HSD USB Card" T

Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Thomas TJ
I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. It's detected as a usb device and the result of lsusb is "Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card" But it's not mounted in /dev/disk/bu-id kindly help me to ge

Re: [PATCH 10/27] mmc: vub300: Remove redundant suspend and resume callbacks

2013-09-30 Thread Ulf Hansson
On 27 September 2013 18:22, Alan Stern wrote: > On Thu, 26 Sep 2013, Ulf Hansson wrote: > >> Suspend and resume of cards are handled by the protocol layer and >> consequently the mmc_suspend|resume_host APIs are marked as deprecated. >> >> While moving away from using the deprecated APIs, there ar

[PATCH] mmc: vub300: Move away from using deprecated APIs

2013-09-30 Thread Ulf Hansson
Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated APIs. Cc: Tony Olech Cc: linux-usb@vger.kernel.org Signed-off-by

Re: [help] imx27 - isp1504 : unable to init transceiver, probably missing

2013-09-30 Thread Mylene Josserand
Hi, Le 29/09/2013 19:08, Christoph Fritz a écrit : > On Sun, 2013-09-29 at 12:19 -0300, Fabio Estevam wrote: >> On Sun, Sep 29, 2013 at 11:32 AM, Christoph Fritz >> wrote: Le 26/09/2013 17:59, Christoph Fritz a écrit : > Their software fix: > "As first attemp at fixing this is