diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2020-08-29 18:00:16 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2020-08-29 18:00:16 -0400 |
commit | 3665d15a9c87b940a411fefb6d5cd69de3c961c9 (patch) | |
tree | 33513d05d3e92cdb81702fff418f74d5e77182f0 | |
parent | fb73c66a697545a0b30fc7bf600217e9f5c301eb (diff) | |
download | longterm-queue-5.2-3665d15a9c87b940a411fefb6d5cd69de3c961c9.tar.gz |
usb: ctxt refresh
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | queue/USB-serial-iuu_phoenix-fix-led-activity-helpers.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/queue/USB-serial-iuu_phoenix-fix-led-activity-helpers.patch b/queue/USB-serial-iuu_phoenix-fix-led-activity-helpers.patch index 0eecc1fc..f386fbc2 100644 --- a/queue/USB-serial-iuu_phoenix-fix-led-activity-helpers.patch +++ b/queue/USB-serial-iuu_phoenix-fix-led-activity-helpers.patch @@ -1,4 +1,4 @@ -From de37458f8c2bfc465500a1dd0d15dbe96d2a698c Mon Sep 17 00:00:00 2001 +From 6124d88039625e39f68bd89b269a86098de42672 Mon Sep 17 00:00:00 2001 From: Johan Hovold <johan@kernel.org> Date: Thu, 16 Jul 2020 10:50:55 +0200 Subject: [PATCH] USB: serial: iuu_phoenix: fix led-activity helpers @@ -23,12 +23,12 @@ Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c -index 6336616fee49..9da0e25bb0ea 100644 +index b8dfeb4fb2ed..ffbb2a8901b2 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c -@@ -350,10 +350,11 @@ static void iuu_led_activity_on(struct urb *urb) - { +@@ -353,10 +353,11 @@ static void iuu_led_activity_on(struct urb *urb) struct usb_serial_port *port = urb->context; + int result; char *buf_ptr = port->write_urb->transfer_buffer; - *buf_ptr++ = IUU_SET_LED; + @@ -41,9 +41,9 @@ index 6336616fee49..9da0e25bb0ea 100644 } else { iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); } -@@ -370,13 +371,14 @@ static void iuu_led_activity_off(struct urb *urb) - { +@@ -374,13 +375,14 @@ static void iuu_led_activity_off(struct urb *urb) struct usb_serial_port *port = urb->context; + int result; char *buf_ptr = port->write_urb->transfer_buffer; + if (xmas) { |