Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-07-19 Thread Greg KH
On Sat, Jul 19, 2014 at 03:11:22PM +1000, ress...@ausics.net wrote: > Since upgrading from 3.12.24 kernel to 3.14.10, and today, .12 kernel log > and dmesg are flooded with constant messages > > option1 ttyUSB0: option_instat_callback: error -2 > > The device still works, it sends and receives SM

[PATCH] gpio:gpio-pl2303: add gpio driver for GPIOs on PL2303

2014-07-19 Thread Wang YanQing
PL2303HX has two GPIOs, this patch add driver for it. Signed-off-by: Wang YanQing --- MAINTAINERS | 5 + drivers/gpio/Kconfig| 7 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-pl2303.c | 238 drivers/usb/serial

Re: [PATCH] gpio:gpio-pl2303: add gpio driver for GPIOs on PL2303

2014-07-19 Thread Greg KH
On Sun, Jul 20, 2014 at 08:01:31AM +0800, Wang YanQing wrote: > PL2303HX has two GPIOs, this patch add driver for it. > > Signed-off-by: Wang YanQing > --- > MAINTAINERS | 5 + > drivers/gpio/Kconfig| 7 ++ > drivers/gpio/Makefile | 1 + > drivers/gpio/gpio-pl

[PATCH] usb: phy: msm: Fix return value check in msm_otg_probe()

2014-07-19 Thread weiyj_lk
From: Wei Yongjun In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- drivers/usb/phy/phy-msm-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

[PATCH -next] usb: gadget: Fix return value check in r8a66597_probe()

2014-07-19 Thread weiyj_lk
From: Wei Yongjun In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- drivers/usb/gadget/udc/r8a66597-udc.c | 4 ++-- 1 file changed, 2 insertio

[PATCH -next] usb: gadget: Fix return value check in ep_write()

2014-07-19 Thread weiyj_lk
From: Wei Yongjun In case of error, the function memdup_user() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- drivers/usb/gadget/legacy/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-07-19 Thread Lars Melin
On 2014-07-20 03:21, Greg KH wrote: On Sat, Jul 19, 2014 at 03:11:22PM +1000, ress...@ausics.net wrote: Since upgrading from 3.12.24 kernel to 3.14.10, and today, .12 kernel log and dmesg are flooded with constant messages option1 ttyUSB0: option_instat_callback: error -2 The device still work

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-07-19 Thread Greg KH
On Sun, Jul 20, 2014 at 10:43:44AM +0700, Lars Melin wrote: > On 2014-07-20 03:21, Greg KH wrote: > >On Sat, Jul 19, 2014 at 03:11:22PM +1000, ress...@ausics.net wrote: > >>Since upgrading from 3.12.24 kernel to 3.14.10, and today, .12 kernel log > >>and dmesg are flooded with constant messages > >

[PATCH -next] usb: chipidea: debug: fix sparse non static symbol warnings

2014-07-19 Thread weiyj_lk
From: Wei Yongjun Fixes the following sparse warnings: drivers/usb/chipidea/debug.c:211:5: warning: symbol 'ci_otg_show' was not declared. Should it be static? drivers/usb/chipidea/debug.c:334:5: warning: symbol 'ci_registers_show' was not declared. Should it be static? Signed-off-by: Wei Yon

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-07-19 Thread Lars Melin
On 2014-07-20 11:10, Greg KH wrote: On Sun, Jul 20, 2014 at 10:43:44AM +0700, Lars Melin wrote: On 2014-07-20 03:21, Greg KH wrote: On Sat, Jul 19, 2014 at 03:11:22PM +1000, ress...@ausics.net wrote: Since upgrading from 3.12.24 kernel to 3.14.10, and today, .12 kernel log and dmesg are floode

[PATCH v2] usb:serial:pl2303: add GPIOs interface on PL2303

2014-07-19 Thread Wang YanQing
PL2303HX has two GPIOs, this patch add interface for it. Signed-off-by: Wang YanQing --- Changes v1-v2: 1:drop gpio-pl2303.c and relation stuff 2:hang gpio stuff off of pl2303.c drivers/usb/serial/Kconfig | 7 ++ drivers/usb/serial/pl2303.c | 153 ++