summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-3.12.27/linux-3.12.27-USB-option-reduce-interrupt-urb-logging-verbosity.patch13
-rw-r--r--recipes-kernel/linux/linux_3.12.27.bb1
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-USB-option-reduce-interrupt-urb-logging-verbosity.patch b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-USB-option-reduce-interrupt-urb-logging-verbosity.patch
new file mode 100644
index 0000000..b6aaf3a
--- /dev/null
+++ b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-USB-option-reduce-interrupt-urb-logging-verbosity.patch
@@ -0,0 +1,13 @@
+Index: linux-3.12.27/drivers/usb/serial/option.c
+===================================================================
+--- linux-3.12.27.orig/drivers/usb/serail/option.c 2015-10-12 08:23:22.665755983 -0500
++++ linux-3.12.27/drivers/usb/serial/option.c 2015-10-12 08:26:24.028205802 -0500
+@@ -1927,6 +1927,8 @@ static void option_instat_callback(struct urb *urb)
+ dev_dbg(dev, "%s: type %x req %x\n", __func__,
+ req_pkt->bRequestType, req_pkt->bRequest);
+ }
++ } else if (status == -ENOENT || status == -ESHUTDOWN) {
++ dev_dbg(dev, "%s: urb stopped: %d\n", __func__, status);
+ } else
+ dev_err(dev, "%s: error %d\n", __func__, status);
+
diff --git a/recipes-kernel/linux/linux_3.12.27.bb b/recipes-kernel/linux/linux_3.12.27.bb
index c46b575..1ca2f79 100644
--- a/recipes-kernel/linux/linux_3.12.27.bb
+++ b/recipes-kernel/linux/linux_3.12.27.bb
@@ -24,6 +24,7 @@ COMMON_PATCHES = " \
file://linux-3.12-cdc-acm-ignore-exar-devices.patch \
file://linux-3.12-release-rfcomm-port-fix.patch \
file://linux-3.12-spi-atmel-dma-min.patch \
+ file://linux-3.12.27-USB-option-reduce-interrupt-urb-logging-verbosity.patch \
"
SRC_URI_append_mtcdt = "\