Repository navigation
Minor fix series for SSP mclk - #3672
Merged
Merged
Conversation
keyonjie
commented
Dec 7, 2020
Contributor
- ssp: mn: return -EINVAL if bclk source not found
- ssp: mn: continue the mclk searching until we get a proper one
keyonjie
requested review from
abonislawski,
lgirdwood,
plbossart and
slawblauciak
December 7, 2020 05:25
keyonjie
requested review from
dbaluta,
jajanusz,
lbetlej and
mmaka1
as code owners
December 7, 2020 05:25
plbossart
approved these changes
Dec 8, 2020
lgirdwood
approved these changes
Dec 9, 2020
Member
|
@keyonjie can you check CI |
Contributor
Author
|
SOFCI TEST |
Member
|
@keyonjie GLK/APL looks broken with this ? |
Contributor
Author
|
Hi @lgirdwood now the slim driver test pass, the On-device Test failed should be not SSP related. |
Log more useful information about bclk/mclk configuration to help track the blck/mclk status. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Log the incorrect mdivr_val value when error happen, which could help to identify what has happened. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Use standard errno in find_bclk_source(), return -EINVAL if no matched bclk source found. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
The ssp.freq is arranged in ascending sequence, to get the smallest matched clock, we should search from index 0. We should not stop the searching if 'mclk < ssp.freq', continue the searching until we get a larger/proper one or fail if all the items are iterated. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
According to spec, we can configure more devidier ratios via register MDIVR, in 1/N the N could be 2, 3, 4, 5, 6, 7, 8. Here change to enable these possibilities. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
lgirdwood
approved these changes
Dec 17, 2020
Member
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.