OSDN Git Service

usb: usb251xb: Add USB2517 LED settings
authorSerge Semin <fancer.lancer@gmail.com>
Sun, 22 Oct 2017 20:38:09 +0000 (23:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Nov 2017 16:14:21 +0000 (17:14 +0100)
commit2818e13ae174bf6a607db3e3fc405bbf5f66b1ce
treed5873aec1612768bfe089732913e9bdfc87915b5
parentdd99d106de255eb48ad7fce8a44afe3ee1526cef
usb: usb251xb: Add USB2517 LED settings

USB2517 supports two LED modes: USB mode and speed (default) indication
mode. The last one can be switched on by corresponding dts property.
Since USB251xb hubs doesn't support LEDs settings, we need to ignore
this setting.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb251xb.c