aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorThibaut VARÈNE <hacks@slashdirt.org>2020-06-05 15:56:15 +0200
committerPetr Štetiar <ynezz@true.cz>2020-07-08 16:07:05 +0200
commit0217a9be0d84438251401bd4a8d21d3e857c5e91 (patch)
tree0209a4e8c5d84071fff287b322129eb7324cc868 /scripts/checkpatch.pl
parent2714a4faab4149d6ba9da3c7ded047caa9ea7fab (diff)
downloadupstream-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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions