From: Markus Mayer <mma...@broadcom.com> This fix is for 4.10.
The driver needs to save the proper P-state on suspend, so it'll resume at the same speed. We also add the P-state and the mode as returned by the AVS firmware GET_PMAP command to the existing brcm_avs_pmap sysfs entry. This will make it easier to diagnose any issues. Markus Mayer (2): cpufreq: brcmstb-avs-cpufreq: extend sysfs entry brcm_avs_pmap cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend drivers/cpufreq/brcmstb-avs-cpufreq.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) -- 2.7.4