diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-10-30 09:42:13 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-11-02 11:23:55 +0100 |
commit | 97ae45953ea957887170078f488fd629dd1ce786 (patch) | |
tree | 8f32a8be2d18ff3a6303c094d904c2dcbb5209cc /sound/soc | |
parent | bf653b61cf5fb4a9b5a9c1a5a19dc5d5f5bd4172 (diff) | |
download | linux-97ae45953ea957887170078f488fd629dd1ce786.tar.bz2 |
platform/x86: system76_acpi: Fix input device error handling
Users on darp6 that do not have Open EC firmware have reported crashes
on boot. Correct the error handling for the input device to fix it.
Managed devices do not need to be explicitly unregistered or freed, as
this is handled by devres. Drop the call to input_free_device.
Fixes: 0de30fc684b3 ("platform/x86: system76_acpi: Replace Fn+F2 function for OLED models")
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Link: https://lore.kernel.org/r/20211030154213.2515-1-tcrawford@system76.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions