commit | 1e7250bd095c8a74303400949757582132265c4a | [log] [tgz] |
---|---|---|
author | Varun Wadekar <vwadekar@nvidia.com> | Wed May 24 08:47:15 2017 -0700 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Fri Jan 18 09:21:50 2019 -0800 |
tree | 006155da3036cf3c6989b08913fc416944e37879 | |
parent | fda095f8c892feef16b3580934fc5d0a98f9980b [diff] |
Tegra186: reduce complexity for the 'get_target_pwr_state' handler 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: Varun Wadekar <vwadekar@nvidia.com>