From: Oliver Neukum
Some laptops have an internal port for a BT device which picks
up noise when the kill switch is used, but not enough to trigger
printk_rlimit(). So we shouldn't log consecutive faults of this kind.
Signed-off-by: Oliver Neukum
---
drivers/usb/core/hub.c | 11 ---
1
From: Oliver Neukum
grep must work, not matter the line length.
Signed-off-by: Oliver Neukum
---
drivers/usb/host/xhci.c | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 3008369..c
From: Oliver Neukum
Reported by Alif Mubarak Ahmad:
This device vendor and product id is 1c9e:9800
It is working as serial interface with generic usbserial driver.
I thought it is more suitable to use usbserial option driver, which has better
capability distinguishing between modem serial inter
From: Oliver Neukum
Converting the header to BIT for readability. No functional
change.
Signed-off-by: Oliver Neukum
---
drivers/usb/class/cdc-acm.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index
From: Oliver Neukum
send_request_dev_dep_msg_in() use a buffer allocated on the stack.
Fix by kmalloc()ing the buffer.
Signed-off-by: Oliver Neukum
---
drivers/usb/class/usbtmc.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/c
From: Oliver Neukum
The workqueue handler may call appledisplay_bl_get_brightness() while
user space calls appledisplay_bl_update_status(). As they share a
buffer that must not happen. Use a mutex for mutual exclusion.
Signed-off-by: Oliver Neukum
---
drivers/usb/misc/appledisplay.c | 13 +
From: Oliver Neukum
There's a window during which read() would return 0 instead
of a correct error for no data yet. Reorder initialization
to fix the race.
Signed-off-by: Oliver Neukum
---
drivers/usb/misc/yurex.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/us
From: Oliver Neukum
Parsing device descriptors can fail due to a failed memory
allocation. The error needs to be properly propagated to the
upper layers.
Signed-off-by: Oliver Neukum
---
drivers/gpu/drm/udl/udl_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/driver