mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
Push the PWM frequency outside the audio band to avoid audible whining. Also fix the off-by-one in the PWM frequency computation. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=spring BUG=chrome-os-partner:17583 TEST=manual : probe the PWM output with a scope. Change-Id: Ie1c8c5aed72bef46c8bac16c1bf3007e8e9573bb Reviewed-on: https://gerrit.chromium.org/gerrit/45584 Reviewed-by: Vic Yang <victoryang@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>