diff options
| author | Roderick Colenbrander <[email protected]> | 2020-11-10 07:22:29 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2020-11-25 12:53:32 +0000 |
| commit | 1a8212e8fd1f50249f30e995460b17c0850c3212 (patch) | |
| tree | 74af6210e4a23d88777e015547aa0223f61f0757 /net/switchdev/switchdev.c | |
| parent | HID: sony: Report more accurate DS4 power status. (diff) | |
| download | kernel-1a8212e8fd1f50249f30e995460b17c0850c3212.tar.gz kernel-1a8212e8fd1f50249f30e995460b17c0850c3212.zip | |
HID: sony: Don't use fw_version/hw_version for sysfs cleanup.
The DS4 dongle reports fw_version and hw_version as 0 when no actual
DS4 is connected to it. This prevents cleaning up sysfs nodes upon
device remove.
This patch decouples sysfs cleanup from the fw_version and hw_version
values by introducing boolean values.
Signed-off-by: Roderick Colenbrander <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
