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

intel: dmic: set plat_data fifo depth for capture #5862

Merged
merged 1 commit into from
May 30, 2022

Conversation

tmleman
Copy link
Contributor

@tmleman tmleman commented May 27, 2022

This patch sets plat_data fifo depth for SOF_IPC_STREAM_CAPTURE instead
of a SOF_IPC_STREAM_PLAYBACK. The value is later read with
get_fifo_depth().

Without this patch the driver sets the value to fifo[0].depth and then
reads from fifo[1].depth.

Signed-off-by: Tomasz Leman tomasz.m.leman@intel.com

This patch sets plat_data fifo depth for SOF_IPC_STREAM_CAPTURE instead
of a SOF_IPC_STREAM_PLAYBACK. The value is later read with
get_fifo_depth().

Without this patch the driver sets the value to fifo[0].depth and then
reads from fifo[1].depth.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
@tmleman
Copy link
Contributor Author

tmleman commented May 27, 2022

@marcinszkudlinski fyi

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @tmleman

@lgirdwood
Copy link
Member

@wszypelt can you check CI, looks like a false positive build failure. Thanks.

@lgirdwood lgirdwood merged commit b156932 into thesofproject:main May 30, 2022
@tmleman tmleman deleted the topic/dmic/nhlt/fifo_depth branch May 23, 2024 11:17
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.

3 participants