Re: Runtime PM enabled EHCI does not respond to device plugging.

2017-05-21 Thread Kai-Heng Feng
Hi, On Sat, May 20, 2017 at 12:13 AM, Alan Stern wrote: [snip] > > Your log shows that the 2-1.1 device is a USB2.0-CRW card reader, and > it uses the rtsx_usb driver. This driver probes the reader every few > seconds to see whether a card has been inserted (actually,

[PATCH 2/2] usbnet: Improve a size determination in usbnet_write_cmd_async()

2017-05-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 06:42:33 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 1/2] usbnet: Delete an error message for a failed memory allocation in usbnet_write_cmd_async()

2017-05-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 06:33:48 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

[PATCH 0/2] usbnet: Adjustments for usbnet_write_cmd_async()

2017-05-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 07:04:03 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation Improve a size determination

Re: [PATCH] usb: mtu3: cleanup with list_first_entry_or_null()

2017-05-21 Thread Chunfeng Yun
Hi, On Sat, 2017-05-20 at 21:19 +0200, Greg Kroah-Hartman wrote: > On Sun, May 21, 2017 at 02:05:31AM +0900, Masahiro Yamada wrote: > > The combo of list_empty() and list_first_entry() can be replaced with > > list_first_entry_or_null(). > > > > Signed-off-by: Masahiro Yamada

[PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-05-21 Thread Wolfram Sang
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang --- arch/arm/mach-omap1/board-h2-mmc.c | 2 +- arch/arm/mach-omap1/board-h2.c | 2 +- arch/arm/mach-omap1/board-h3-mmc.c | 2 +-

[PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-05-21 Thread Wolfram Sang
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang --- arch/arm/mach-omap2/common.h| 2 +- arch/arm/mach-omap2/omap_twl.c | 2 +- drivers/gpio/gpio-twl4030.c | 2 +-

[PATCH 0/3] mfd: move include files out of include/linux/i2c

2017-05-21 Thread Wolfram Sang
It doesn't make sense to use include/linux/i2c for client drivers which may in fact rather be hwmon or input or whatever devices. As a result, I want to deprecate include/linux/i2c for good. This series moves the include files to a better location, for the mfd subsystem to include/linux/mfd.

Unable to open file: /etc/ima/ima-policy (-2)

2017-05-21 Thread Cristian
Hi, dmesg: [5.336633] Unable to open file: /etc/ima/ima-policy (-2) Regards, -- Cristian [0.00] microcode: microcode updated early to revision 0x29, date = 2013-06-12 [0.00] Linux version 4.11.2-041102-generic (kernel@gomeisa) (gcc version 6.3.0 20170516 (Ubuntu/Linaro

Re: kernel does not receive any USB3.0 plug/unplug events from the Renesas upd720202 chipset

2017-05-21 Thread Xavier .
Hello. I have one problem with chip Renesas uPD720202 (card Startech PCIUSB3S22). In Windows XP run fine, very fine, but in GNU/Linux kernel does not receive any USB3.0 plug/unplug events, why? No usb device is recognized, it is as if the card had nothing connected. I have tried the following

dwc2 audio gadget with high data rates

2017-05-21 Thread Francesco Lavra
Hi, I'm using the dwc2 OTG controller as a USB audio gadget (g_audio driver), and I'm having trouble with making it work at high data rates, e.g. 192 kHz sampling rate or 6 channels. When I load the g_audio driver with the above parameters (p_srate=192000 p_chmask=0x3F), I get this error