Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASoC: dwc: Defer bclk_ratio handling to hw_params #5819

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Jan 3, 2024

bclk_ratio is only a factor in clock producer mode, and needs to override the default value of num_channels * sample_size. Move the bclk_ratio handling into the hw_params method, only latching the value in set_bclk_ratio, to address both of those matters.

See: #5817

bclk_ratio is only a factor in clock producer mode, and needs to
override the default value of num_channels * sample_size.
Move the bclk_ratio handling into the hw_params method, only latching
the value in set_bclk_ratio, to address both of those matters.

See: raspberrypi#5817

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor Author

pelwell commented Jan 4, 2024

This seems to be working as expected, and fixes #5817.

@pelwell pelwell merged commit dfc0490 into raspberrypi:rpi-6.1.y Jan 4, 2024
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jan 4, 2024
See: raspberrypi/linux#5823

kernel: ASoC: dwc: Defer bclk_ratio handling to hw_params
See: raspberrypi/linux#5819
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jan 4, 2024
See: raspberrypi/linux#5823

kernel: ASoC: dwc: Defer bclk_ratio handling to hw_params
See: raspberrypi/linux#5819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant