[PATCH] usb: gadget: fusb300_udc: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva

[PATCH] usb: gadget: fsl_udc_core: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

[PATCH] usb: gadget: udc-xilinx: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

[PATCH] usb: chipidea: udc: compress return logic into line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

[PATCH] usb: gadget: legacy: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignments. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

[PATCH 1/2] usb: gadget: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva

[PATCH 2/2] usb: gadget: use unsigned int instead of unsigned in usb_otg_descriptor_alloc()

2017-07-09 Thread Gustavo A. R. Silva
Prefer unsigned int to bare use of unsigned. Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index 23bfa7d..968179d 100644

[PATCH] usb: gadget: legacy: ncm: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

[PATCH] usb: gadget: legacy: dbgp: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva

[PATCH] usb: gadget: configfs: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-09 Thread Peter Chen
On Sat, Jul 08, 2017 at 02:14:56PM +0200, Rafael J. Wysocki wrote: > On Saturday, July 08, 2017 01:51:15 PM Peter Chen wrote: > > On Fri, Jul 07, 2017 at 03:03:06PM +0200, Rafael J. Wysocki wrote: > > > On Friday, July 07, 2017 04:01:07 PM Peter Chen wrote: > > > > On Fri, Jul 07, 2017 at

[PATCH] usb: isp1760: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva ---

Re: [PATCH v10 00/15] Replace PCI pool by DMA pool API

2017-07-09 Thread Doug Ledford
On Thu, 2017-07-06 at 10:12 +0200, Romain Perier wrote: > The current PCI pool API are simple macro functions direct expanded > to > the appropriate dma pool functions. The prototypes are almost the > same > and semantically, they are very similar. I propose to use the DMA > pool > API directly

Re: [PATCH 3/3] usb/gadget: Add driver for Aspeed SoC virtual hub

2017-07-09 Thread kbuild test robot
-check-in-usb_gadget_ep_match_desc/20170709-203037 config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: Linux 4.12 breaks USB for me

2017-07-09 Thread Greg KH
On Sun, Jul 09, 2017 at 12:52:17PM +0200, Felix von Leitner wrote: > Hey guys, > > Please REPLY ALL because I'm not subscribed here. > > I upgraded to Linux 4.12 on my Haswell laptop (EHCI+xHCI, both Intel). > I had both compiled into the kernel (not modules), I got an EHCI message > that the

Linux 4.12 breaks USB for me

2017-07-09 Thread Felix von Leitner
Hey guys, Please REPLY ALL because I'm not subscribed here. I upgraded to Linux 4.12 on my Haswell laptop (EHCI+xHCI, both Intel). I had both compiled into the kernel (not modules), I got an EHCI message that the module was activated, but then nothing. Here is the relevant lspci: 00:14.0 USB

Re: [PATCH v3 1/1] usb:host:xhci support option to disable the xHCI USB2 HW LPM

2017-07-09 Thread Greg Kroah-Hartman
On Sun, Jul 09, 2017 at 12:38:19PM +0700, Thang Q. Nguyen wrote: > On Fri, Jun 23, 2017 at 10:02 AM, Thang Q. Nguyen wrote: > > XHCI specification 1.1 does not require xHCI-compliant controllers > > to always enable hardware USB2 LPM. However, the current xHCI > > driver always