aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2019-05-02 02:38:00 +0300
committerMyungJoo Ham <[email protected]>2019-08-24 20:11:12 +0900
commit62bacb06b9f08965c4ef10e17875450490c948c0 (patch)
tree29f4f7020b89eea8274004d36e4ab614e19b25cb /scripts/gdb/linux/modules.py
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff)
PM / devfreq: tegra: Fix kHz to Hz conversion
The kHz to Hz is incorrectly converted in a few places in the code, this results in a wrong frequency being calculated because devfreq core uses OPP frequencies that are given in Hz to clamp the rate, while tegra-devfreq gives to the core value in kHz and then it also expects to receive value in kHz from the core. In a result memory freq is always set to a value which is close to ULONG_MAX because of the bug. Hence the EMC frequency is always capped to the maximum and the driver doesn't do anything useful. This patch was tested on Tegra30 and Tegra124 SoC's, EMC frequency scaling works properly now. Cc: <[email protected]> # 4.14+ Tested-by: Steev Klimaszewski <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions