Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, 1:Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? 2:If media-change polling prevent the device entering runtime suspend, Why connect USB storage devices without operator and usb mouse also may cau

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-23 Thread Robert Jarzmik
Dmitry Eremin-Solenikov writes: > 2014-11-22 20:49 GMT+03:00 Robert Jarzmik : > Next point would be (from my POV) to make sure that > lubbock_unmask_irq() is called > and works as expected. Actually the problem is probably within the CPLD. Irrespective of the CPLD register LUB_IRQ_MASK_EN, the G

Re: [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-23 Thread Vivek Gautam
Hi Alim, On Sat, Nov 22, 2014 at 7:07 PM, Alim Akhtar wrote: > Hi Vivek, > > On Fri, Nov 21, 2014 at 7:05 PM, Vivek Gautam > wrote: >> USB and Power regulator on Exynos7 require gpios available >> in BUS1 pin controller block. >> So adding the BUS1 pinctrl support. >> >> Signed-off-by: Naveen

Re: [PATCH net-next 0/2] r8152: use ECM mode for future chips

2014-11-23 Thread David Miller
From: Hayes Wang Date: Mon, 24 Nov 2014 11:09:47 +0800 > For the future chips which the r8152 doesn't support yet, we could > still use ECM mode for basic transmission. Gross, please don't do this. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message t

[PATCH net-next 2/2] r8152: use ECM mode for unsupported chips

2014-11-23 Thread Hayes Wang
Use usbnet_cdc_bind to initialize the chips which the driver doesn't support yet, if the cdc_ether is set. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 92 ++--- 1 file changed, 87 insertions(+), 5 deletions(-) diff --git a/drivers/net/usb/

[PATCH net-next 1/2] r8152: redefine REALTEK_USB_DEVICE

2014-11-23 Thread Hayes Wang
Redefine REALTEK_USB_DEVICE for the desired USB interface for probe(). There are three USB interfaces for the device. USB_CLASS_COMM and USB_CLASS_CDC_DATA are for ECM mode (config #2). USB_CLASS_VENDOR_SPEC is for the vendor mode (config #1). However, we are not interesting in USB_CLASS_CDC_DATA f

[PATCH net-next 0/2] r8152: use ECM mode for future chips

2014-11-23 Thread Hayes Wang
For the future chips which the r8152 doesn't support yet, we could still use ECM mode for basic transmission. Hayes Wang (2): r8152: redefine REALTEK_USB_DEVICE r8152: use ECM mode for unsupported chips drivers/net/usb/r8152.c | 118 +++- 1 file ch

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? If media-change polling prevent the device entering runtime suspend, Why connect USB storage devices and usb mouse also may cause USB bus can't ente

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? And Why connect USB storage devices also may cause USB bus can't enter runtime suspend? Hi Stern, Thanks your kind support,but how to turn off med

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? 在 2014年11月24日 06:02, tianjulin 写道: Hi Stern, Thanks your kind support,but how to turn off media-change polling? 在 2014年11月24日 01:00, Alan Stern 写道

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? 在 2014年11月24日 01:00, Alan Stern 写道: On Sun, 23 Nov 2014, liu chunlin wrote: Hi all, AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to SDIO)if I want to use sdcard on my board ,but I have t

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread Alan Stern
On Sun, 23 Nov 2014, liu chunlin wrote: > Hi all, > > AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to > SDIO)if I want to use sdcard on my board ,but I have try many sdcard-reader > without sdcard to connect usb ,all of them will cause usb bus can't enter > runtime su

Re: Potential bugs found in usb_storage

2014-11-23 Thread Alan Stern
On Sun, 23 Nov 2014, Jia-Ju Bai wrote: > Dear Sir, > I'm very sorry to trouble you. > Recently I test 15 linux device drivers in runtime and find some potential > bugs both in Linux 3.8.6 and Linux 3.17.2. > > The target file is drivers/usb/storage/usb.c, which is used to build > usb_storage.ko

Re: [PATCH] usb: chipidea: Fixed a few typos in comments

2014-11-23 Thread Peter Chen
On Sun, Nov 23, 2014 at 12:09:44PM +0100, Mickael Maison wrote: > Fixed typos in comments of 2 drivers/usb/chipidea files > > Signed-off-by: Mickael Maison > --- > drivers/usb/chipidea/core.c| 2 +- > drivers/usb/chipidea/otg_fsm.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-)

Potential bugs found in usb_storage

2014-11-23 Thread Jia-Ju Bai
Dear Sir, I'm very sorry to trouble you. Recently I test 15 linux device drivers in runtime and find some potential bugs both in Linux 3.8.6 and Linux 3.17.2. The target file is drivers/usb/storage/usb.c, which is used to build usb_storage.ko. I hope you can help me check my findings: [1] In the

[PATCH] usb: chipidea: Fixed a few typos in comments

2014-11-23 Thread Mickael Maison
Fixed typos in comments of 2 drivers/usb/chipidea files Signed-off-by: Mickael Maison --- drivers/usb/chipidea/core.c| 2 +- drivers/usb/chipidea/otg_fsm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index

Re: Potential bugs found in usb_storage

2014-11-23 Thread Hans de Goede
Hi, I'm not the usb-storage maintainer, can you please send a mail about this to linux-usb with me in the CC? Thanks, Hans On 11/23/2014 03:59 AM, 白家驹 wrote: > Dear Sir, > > I'm very sorry to trouble you. > Recently I test 15 linux device drivers in runtime and find some > potential

Bug ID::88761 USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Bug ID::88761 Summary:USB storage device cause usb bus can't enter runtime suspend AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to SDIO)if I want to use sdcard on my board ,but I have try many sdcard-reader without sdcard to connect usb ,all of them will cause usb bus