Skip to content
Commit 5fecc14a authored by Andrew Graham's avatar Andrew Graham Committed by Tarek El-Sherbiny
Browse files

mod_sensor: Add bool "disabled" for all sensors



This patch adds a boolean flag to the mod_sensor_info
structure. This flag is called "disabled".

If this flag is set to "true", then the sensor
starts in a disabled state.

If set to false, then the sensor starts in an
enabled state.

In addition, the patch adds initialisation of
"disabled" flag for all sensors on all platforms.

Together, these changes allow sensors to start in an
enabled or a disabled state.

Change-Id: Ia186621af4ca252cc08a7e2bb673a8df7693acab
Signed-off-by: Andrew Graham's avatarAndrew Graham <andrew.graham@arm.com>
parent 5ee5f024
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment