OSDN Git Service
libsensors: retry more and deal with sensor hub quirk
() Sometimes the ueventd has a hard time keeping up with all
the uevents. It causes the permissions of the IIO sysfs nodes
to remain unchanged. This causes the sensor HAL initialization
to fail. Need to retry a few more times.
() There is a quirk with some sensor hubs, where you have to
enable/disable/enable for it to start sending any events.
This adds the code to "jump-start" the hub.
Issue: AXIA-1451
Change-Id: Iecfbf8589637eb16a8b80364b47c2527a69d7cd3
Depends-Change-Id: Ibfff2a60c5223b2018c106237365967471e00e89
Signed-off-by: Daniel Leung <daniel.leung@intel.com>