usb: usb251xb: Add battery enable setting flag
authorSerge Semin <fancer.lancer@gmail.com>
Sun, 22 Oct 2017 20:38:08 +0000 (23:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Nov 2017 16:14:21 +0000 (17:14 +0100)
commitdd99d106de255eb48ad7fce8a44afe3ee1526cef
tree24f214dc023951a448baa7ca0d162684ca99d2d0
parentccdddc0343b8a1955ca9217e02d693546f792392
usb: usb251xb: Add battery enable setting flag

Battery charging settings are supported by USB251xb hubs only.
USB2517i isn't one of them. So we need to reflect it within the
device-specific data structure. The driver doesn't support dts
property changing this setting, but instead defaults it with zero.
So the flag isn't used anywhere in the driver, but still can be helpful
in future, when necessity of the corresponding dts setting arises.

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