summaryrefslogtreecommitdiff
path: root/drivers/block/umem.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2020-11-10 10:22:29 +0300
committerJiri Kosina <jkosina@suse.cz>2020-11-25 15:53:32 +0300
commit1a8212e8fd1f50249f30e995460b17c0850c3212 (patch)
tree74af6210e4a23d88777e015547aa0223f61f0757 /drivers/block/umem.c
parenta76a6c1893b0806657cb747c3c8949d3103fbc3f (diff)
downloadlinux-1a8212e8fd1f50249f30e995460b17c0850c3212.tar.xz
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 <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/block/umem.c')
0 files changed, 0 insertions, 0 deletions