forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHROMIUM: ASoC: samsung: Route clocks to i2s.
Configure the clocks so that the i2s block is driven with a clock that can be divided to the current audio frequency. The rate of epll is already being adjusted to match the frame rate, but epll was not being configured to drive the audio clocks. At init, set the clock muxes to route epll through the muxes. This fixes audio on Daisy playing back too fast (6% fast for 44.1, almost 2x for 48k). BUG=chrome-os-partner:11225 TEST=Play sine waves of various frequencies and check they are rendered correctly with a spectrum analyzer. Change-Id: I46c5f466088a825942931007b49fcde2e40e9fc6 Signed-off-by: Dylan Reid <[email protected]> Reviewed-on: https://gerrit.chromium.org/gerrit/28453 Reviewed-by: Olof Johansson <[email protected]>
- Loading branch information
Showing
1 changed file
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters