mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-15 23:04:58 +08:00
When the system has zero or one button available, trying to rmmod soc_button_array will cause crash. Fix this by properly handling -ENODEV in probe(). Signed-off-by: Lejun Zhu <lejun.zhu@linux.intel.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5.1 KiB
5.1 KiB