Home
last modified time | relevance | path

Searched hist:"6 ff1cae2e30a79265bcce85f617663c480936ab0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dwacom_sys.cdiff 6ff1cae2e30a79265bcce85f617663c480936ab0 Thu Apr 07 06:54:06 CDT 2022 Bastien Nocera <hadess@hadess.net> HID: wacom: Correct power_supply type

POWER_SUPPLY_TYPE_USB seems to only ever be used by USB ports that are
used to charge the machine itself (so a "system" scope), like the
single USB port on a phone, rather than devices.

The wacom_sys driver is the only driver that sets its device battery as
being a USB type, which doesn't seem correct based on its usage, so
switch it to be a battery type like all the other USB-connected devices.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>