Re: [PATCH] usb: xhci: Add quirk for Certain failing HP keyboard on reset after resume

2017-07-31 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Mon, Jul 31, 2017 at

Re: [PATCH] HID: add ALWAYS_POLL quirk for Logitech 0xc077

2017-07-31 Thread Jiri Kosina
On Mon, 31 Jul 2017, Oliver Neukum wrote: > > > Cc: Oliver Neukum > > > Signed-off-by: Kyle Roarty > > > Signed-off-by: Aaron Sierra > > > --- > > > Note: It is unknown to me if the typo is in the name of the original > > >

Re: [PATCH] HID: add ALWAYS_POLL quirk for Logitech 0xc077

2017-07-31 Thread Oliver Neukum
Am Montag, den 31.07.2017, 14:01 +0200 schrieb Jiri Kosina: > On Fri, 28 Jul 2017, Aaron Sierra wrote: > > > > > From: Kyle Roarty > > > > Without a quirk or the X Window System, this device disconnects every > > 60 seconds. This patch also renames the define associated

Re: [PATCH] HID: add ALWAYS_POLL quirk for Logitech 0xc077

2017-07-31 Thread Jiri Kosina
On Fri, 28 Jul 2017, Aaron Sierra wrote: > From: Kyle Roarty > > Without a quirk or the X Window System, this device disconnects every > 60 seconds. This patch also renames the define associated with the > Logitech 0xc007 product ID, which appeared to have a conflicting

Re: [PATCH v2 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-31 Thread Peter Rosin
On 2017-07-14 23:40, Stephen Boyd wrote: > On the db410c 96boards platform we have a TC7USB40MU on the board > to mux the D+/D- lines coming from the controller between a micro > usb "device" port and a USB hub for "host" roles[1]. During a > role switch, we need to toggle this mux to forward the

Re: [PATCH v2 3/8] usb: chipidea: Add support for Tegra20/30/114/124

2017-07-31 Thread Dmitry Osipenko
On 31.07.2017 04:14, Peter Chen wrote: > On Fri, Jul 28, 2017 at 05:51:16PM +0200, Michał Mirosław wrote: >> On Fri, Jul 28, 2017 at 01:00:32PM +0300, Dmitry Osipenko wrote: >>> On 28.07.2017 01:32, Michał Mirosław wrote: On Thu, Jul 27, 2017 at 07:46:07PM +0300, Dmitry Osipenko wrote: >

Re: [PATCH 00/12] constify mmc_host_ops structures

2017-07-31 Thread Ulf Hansson
On 29 July 2017 at 07:59, Julia Lawall wrote: > > The mmc_host_ops structure is only stored in the ops field of an > mmc_host structure, which is declared as const. Thus the mmc_host_ops > structure itself can be const. > > Done with the help of Coccinelle. > > --- > >

Re: [PATCH] powerpc/asm/cacheflush: Cleanup cacheflush function params

2017-07-31 Thread Christophe LEROY
Le 20/07/2017 à 08:28, Matt Brown a écrit : The cacheflush prototypes currently use start and stop values and each call requires typecasting the address to an unsigned long. This patch changes the cacheflush prototypes to follow the x86 style of using a base and size values, with base being a

[PATCH 1/1] usb: xhci: Free the right ring in xhci_add_endpoint()

2017-07-31 Thread Lu Baolu
In the xhci_add_endpoint(), a new ring was allocated and saved at xhci_virt_ep->new_ring. Hence, when error happens, we need to free the allocated ring before returning error. Current code frees xhci_virt_ep->ring instead of the new_ring. This patch fixes this. Signed-off-by: Lu Baolu

RE: [PATCH 06/11] usb: renesas_usbhs: constify hc_driver structures

2017-07-31 Thread Yoshihiro Shimoda
Hi, > From: Julia Lawall > Sent: Saturday, July 29, 2017 5:42 AM > > The hc_driver structure is only passed as the first argument to > usb_create_hcd, which is declared as const. Thus the hc_driver structure > itself can be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia

Re: [PATCH] usb: xhci: Add quirk for Certain failing HP keyboard on reset after resume

2017-07-31 Thread Sandeep Singh
Hi Greg, Thanks for review. Apart from pci_ids.h, I see only 3 options, add this id as macro in pci_quirks.c or pci_quirks.h or just hardcode it. please suggest what will good option as per your view. Regards Sandeep On 7/30/2017 7:41 PM, Greg KH wrote: > On Thu, Jul 27, 2017 at 02:05:09PM