Re: [PATCH V2] printk: pr_debug_ratelimited: check state first to reduce "callbacks suppressed" messages

2013-10-27 Thread Krzysztof Mazur
On Sat, Oct 26, 2013 at 08:41:53PM -0700, Joe Perches wrote: > pr_debug_ratelimited should be coded similarly to dev_dbg_ratelimited > to reduce the "callbacks suppressed" messages. > > Add #include to printk.h. Unfortunately, this > new #include must be after the prototype/declaration of functio

Re: [PATCH v3 3/5] usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28

2013-10-27 Thread Marek Vasut
Dear Peter Chen, > Due to imx28 needs ARM swp instruction for writing, we set > CI_HDRC_IMX28_WRITE_FIX for imx28. > > Signed-off-by: Peter Chen > --- > drivers/usb/chipidea/ci_hdrc_imx.c | 32 ++-- > 1 files changed, 26 insertions(+), 6 deletions(-) > > diff --gi

Re: [PATCH v3 4/5] usb: doc: chipidea: imx: add compatiable string for imx28 SoC

2013-10-27 Thread Marek Vasut
Dear Peter Chen, > Due to imx28 usb has special write requirement compared to other imx SoCs. > > Signed-off-by: Peter Chen > --- > Changes for v3: > - 4/5, 5/5 are added > > .../devicetree/bindings/usb/ci13xxx-imx.txt|3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6/ipv4

2013-10-27 Thread Thomas Schäfer
Hi Bjørn, I tested your patch with the K5150 in mbim-mode with ipv6 only - ok. with Ipv4 only - ok. I have only one mbim-device, this 5150. Let me know, if you need further tests. Thank you! Regards, Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the bod

Re: Controller's wakeup setting at usb_add_hcd

2013-10-27 Thread Peter Chen
On Thu, Oct 24, 2013 at 12:51:47PM -0400, Alan Stern wrote: > On Thu, 24 Oct 2013, Peter Chen wrote: > > > It is the same which the embedded world does, that is the physical wakeup > > setting is controlled by software flag. Since it is the controller's wakeup, > > why the controller driver does n

[PATCH v2 1/4] usb: usbtest: support bos descriptor test for usb 3.0

2013-10-27 Thread Huang Rui
In Test 9 of usbtest module, it is used for performing chapter 9 tests N times. This patch adds to support getting bos descriptor test scenario for USB 3.0. Signed-off-by: Huang Rui --- drivers/usb/misc/usbtest.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/misc

[PATCH v2 0/4] usb: usbtest: support usb3.0 bos descriptor set test

2013-10-27 Thread Huang Rui
Hi all, The following patches implement Binary Device Object Store (BOS) descriptor set tests in section 9.6.2 of USB 3.0 SPEC. At current usbtest module, it only supports USB 2.0 chapter 9 tests, so this updates extend the testing scope to cover the USB 3.0 new descriptors. Changes from v1 -> v2

[PATCH v2 3/4] usb: usbtest: support superspeed device capbility descriptor test

2013-10-27 Thread Huang Rui
In Test 9 of usbtest module, it is used for performing chapter 9 tests N times. SuperSpeed USB Device Capability descriptor is one of the generic device-level capbility descriptors which added in section 9.6.2.2 of USB 3.0 spec. This patch adds to support getting SuperSpeed USB Device Capability

[PATCH v2 4/4] usb: usbtest: support container id descriptor test

2013-10-27 Thread Huang Rui
In Test 9 of usbtest module, it is used for performing chapter 9 tests N times. Container ID descriptor is one of the generic device-level capbility descriptors which added in section 9.6.2.3 of USB 3.0 spec. This patch adds to support getting Container ID descriptor test scenario for USB 3.0. S

[PATCH v2 2/4] usb: usbtest: support usb2 extension descriptor test

2013-10-27 Thread Huang Rui
In Test 9 of usbtest module, it is used for performing chapter 9 tests N times. USB2.0 Extension descriptor is one of the generic device-level capbility descriptors which added in section 9.6.2.1 of USB 3.0 spec. This patch adds to support getting usb2.0 extension descriptor test scenario for USB

Re: [PATCH v3 3/5] usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28

2013-10-27 Thread Shawn Guo
On Sun, Oct 27, 2013 at 05:25:36PM +0100, Marek Vasut wrote: > > +static const struct of_device_id ci_hdrc_imx_dt_ids[] = { > > + { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, > > + { .compatible = "fsl,imx27-usb", .data = &imx27_usb_data}, > > Just a nit-pick, but the order here

Re: [PATCH v3 5/5] ARM: dts: imx28: changing usb compatible string as only "fsl,imx28-usb"

2013-10-27 Thread Peter Chen
On Fri, Oct 25, 2013 at 04:46:09PM +0800, Shawn Guo wrote: > On Fri, Oct 25, 2013 at 04:14:30PM +0800, Peter Chen wrote: > > > > @@ -1041,7 +1041,7 @@ > > > > ranges; > > > > > > > > usb0: usb@8008 { > > > > - compatible = "fsl,imx28-usb",

Re: [PATCH v3 4/5] usb: doc: chipidea: imx: add compatiable string for imx28 SoC

2013-10-27 Thread Peter Chen
On Sun, Oct 27, 2013 at 05:26:16PM +0100, Marek Vasut wrote: > Dear Peter Chen, > > > Due to imx28 usb has special write requirement compared to other imx SoCs. > > > > Signed-off-by: Peter Chen > > --- > > Changes for v3: > > - 4/5, 5/5 are added > > > > .../devicetree/bindings/usb/ci13xxx-im

Re: [PATCH v3 5/5] ARM: dts: imx28: changing usb compatible string as only "fsl,imx28-usb"

2013-10-27 Thread Shawn Guo
On Mon, Oct 28, 2013 at 09:59:27AM +0800, Peter Chen wrote: > hmm, before of_match_device gets improved or it is well documented, > how user knows to organize device_id table. Just like you, you found it after you saw that of_match_device() does not return you the expected device :) > > > > Sinc