diff options
author | Javier Carrasco <javier.carrasco@wolfvision.net> | 2024-03-25 10:15:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-27 07:57:16 +0100 |
commit | dd84ac9765410c4375f88457dcb86f126a5eb18d (patch) | |
tree | f4005fe7ad75b327b6ec90f28d1e10a91f2777cd /block | |
parent | 70ab96e92106ecd03b39a39ce58c6c237eb0be66 (diff) |
usb: misc: onboard_dev: add support for non-hub devices
Most of the functionality this driver provides can be used by non-hub
devices as well.
To account for the hub-specific code, add a flag to the device data
structure and check its value for hub-specific code.
The 'always_powered_in_supend' attribute is only available for hub
devices, keeping the driver's default behavior for non-hub devices (keep
on in suspend).
Acked-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20240325-onboard_xvf3500-v8-6-29e3f9222922@wolfvision.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions