diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2020-06-05 15:56:15 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-08 16:07:05 +0200 |
commit | 0217a9be0d84438251401bd4a8d21d3e857c5e91 (patch) | |
tree | 0209a4e8c5d84071fff287b322129eb7324cc868 /tools/b43-tools | |
parent | 2714a4faab4149d6ba9da3c7ded047caa9ea7fab (diff) | |
download | upstream-0217a9be0d84438251401bd4a8d21d3e857c5e91.tar.gz upstream-0217a9be0d84438251401bd4a8d21d3e857c5e91.tar.bz2 upstream-0217a9be0d84438251401bd4a8d21d3e857c5e91.zip |
generic: platform/mikrotik: graceful fallback for cpufreq_index
The current code would return an error on ath79 when the SoC isn't known
to the driver. Return the raw hex value instead, as happens with non
supported targets.
Also return the correctly incremented value from
sc_tag_cpufreq_ath79_arraysize()
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Diffstat (limited to 'tools/b43-tools')
0 files changed, 0 insertions, 0 deletions