Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-24 Thread Pavel Machek
On Fri 2015-07-24 10:22:04, Vlastimil Babka wrote: > On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: > >Devices may declare more LEDs than what is known to input-leds > >(HID does this for some devices). Instead of showing ugly warnings > >on connect and, even worse, oopsing on disconnect, let's

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-24 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us. Reported-by:

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-24 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us. Reported-by:

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-24 Thread Pavel Machek
On Fri 2015-07-24 10:22:04, Vlastimil Babka wrote: On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Dmitry Torokhov
On Thu, Jul 23, 2015 at 11:22:54PM +0200, Pavel Machek wrote: > On Thu 2015-07-23 13:57:13, Dmitry Torokhov wrote: > > On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: > > > On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: > > > > Devices may declare more LEDs than what is known to

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Pavel Machek
On Thu 2015-07-23 13:57:13, Dmitry Torokhov wrote: > On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: > > On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: > > > Devices may declare more LEDs than what is known to input-leds > > > (HID does this for some devices). Instead of showing

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Dmitry Torokhov
On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: > On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: > > Devices may declare more LEDs than what is known to input-leds > > (HID does this for some devices). Instead of showing ugly warnings > > on connect and, even worse, oopsing on

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Pavel Machek
On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: > Devices may declare more LEDs than what is known to input-leds > (HID does this for some devices). Instead of showing ugly warnings > on connect and, even worse, oopsing on disconnect, let's simply > ignore LEDs that are not known to us. > >

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Pavel Machek
On Thu 2015-07-23 13:57:13, Dmitry Torokhov wrote: On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Dmitry Torokhov
On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Dmitry Torokhov
On Thu, Jul 23, 2015 at 11:22:54PM +0200, Pavel Machek wrote: On Thu 2015-07-23 13:57:13, Dmitry Torokhov wrote: On Thu, Jul 23, 2015 at 08:19:13AM +0200, Pavel Machek wrote: On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-23 Thread Pavel Machek
On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us.

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: > Devices may declare more LEDs than what is known to input-leds > (HID does this for some devices). Instead of showing ugly warnings > on connect and, even worse, oopsing on disconnect, let's simply > ignore LEDs that are not known to us. > >

[PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Dmitry Torokhov
Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us. Reported-by: Vlastimil Babka Signed-off-by: Dmitry Torokhov ---

[PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Dmitry Torokhov
Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us. Reported-by: Vlastimil Babka vba...@suse.cz Signed-off-by: Dmitry

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: Devices may declare more LEDs than what is known to input-leds (HID does this for some devices). Instead of showing ugly warnings on connect and, even worse, oopsing on disconnect, let's simply ignore LEDs that are not known to us. Reported-by: