Skip to content

Commit

Permalink
M6_MX: Audio HW does not stall with freq's lower then 600Mhz
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Prime90 committed Mar 22, 2014
1 parent d679669 commit de7a374
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions board/amlogic/M6_MX/overlay/etc/init.d/S10setup
Expand Up @@ -31,10 +31,9 @@ if [ "X$1" = "Xstart" ]; then
for i in $CPU/cpu0/cpufreq $CPU/cpu1/cpufreq; do
echo "S10setup: set cpu scaling governor"
echo "lagfree" > $i/scaling_governor
# If M1 or M3, limit to 600Mhz to keep audio hw from stalling
echo "S10setup: set cpu scaling min/max"
# This may not be necessacry for M6 devices (TODO: Test freq lower then 600Mhz on M6)
echo "600000" > $i/scaling_min_freq
# M6 devices min freq 200Mhz
echo "200000" > $i/scaling_min_freq
# M6 devices max out at 1.2-1.5Ghz depending on uboot
echo "1200000" > $i/scaling_max_freq
done
Expand Down

0 comments on commit de7a374

Please sign in to comment.