68266bdcce
Based on num_hid_devices, each sensor device registers to HID. If
"no sensors" then amd_sfh work initialization and scheduling
doesn’t make sense and return ENODEV to stop driver probe.
Hence add a check for num_hid_devices to handle special
case in the situation of "no sensors" for SFH1.1.
Fixes:
|
||
---|---|---|
.. | ||
amd_sfh_desc.c | ||
amd_sfh_init.c | ||
amd_sfh_init.h | ||
amd_sfh_interface.c | ||
amd_sfh_interface.h |