An error occurred while fetching folder content.
Tegra186: reduce complexity for the 'get_target_pwr_state' handler
Varun Wadekar authored
This patch reduces the code complexity for the platform's 'get_target_pwr_state'
handler, by reducing the number of 'if' conditions and adding helper functions
to calculate power state for the cluster/system.

Tested with 'pmccabe'

Change-Id: I32fa4c814bd97f620f2003fa39f1bfceae563771
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
4e1830a9
Name Last commit Last update