Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mce-sensorfw] Refactor mce - sensorfwd IPC. JB#41369
So far MCE has utilized only three sensors - all of which report a single unsigned integer value. This has allowed code to organically grow in to a form that requires numerous glue functions for each sensor type and is ill-prepared for handling sensors that report vector form data. Reduce the amount of glue functions that needs to be implemented for each supported sensor type and stop assuming sensor data will be a single integer value. Handle situations where the standby-override attribute is not supported for an otherwise functioning sensor. Do not attempt to start mce-starting-up exceptional situation before the objects required by such operation have been created. Also fix spelling of some constants from SWF_xxx to SFW_xxx. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
5 changed files
with
647 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.