8455cbb259
Based on num_hid_devices, each sensor device is initialized. If
"no sensors" is initialized, amd_sfh work initialization and scheduling
doesn’t make sense and returns EOPNOTSUPP to stop driver probe. Hence,
add a check for "no sensors" enabled to handle the special case.
Fixes:
|
||
---|---|---|
.. | ||
amd_sfh_desc.c | ||
amd_sfh_init.c | ||
amd_sfh_init.h | ||
amd_sfh_interface.c | ||
amd_sfh_interface.h |