commit | 4e1830a99207b9c7dd6909f989fa01a4789ed05b | [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 | fcf23a1419ed2277fc943232299a6191852e5bc9 [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>