Skip to content

dai: add dir arg to get_hw_params function in dai_ops - #2430

Merged
lgirdwood merged 3 commits into
thesofproject:masterfrom
bkokoszx:fix-cml-install-hw-params
Feb 26, 2020
Merged

lgirdwood merged 3 commits into
thesofproject:masterfrom
bkokoszx:fix-cml-install-hw-params

Conversation

@bkokoszx

Copy link
Copy Markdown
Collaborator

Hardware stream parameters can be different for
PLAYBACK and CAPTURE direction. get_hw_params()
and dai_get_hw_params() function should return
parameters correctly depending on the stream direction.

Hardware stream parameters can be different for
PLAYBACK and CAPTURE direction. get_hw_params()
should return parameters correctly depending on
the stream direction.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
Hardware stream parameters can be different for
PLAYBACK and CAPTURE direction. dai_get_hw_params()
should return parameters corretly depending on
the stream direction.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
FOR ssp channels parameter can be different for
PLAYBACK and CAPTURE and it depends on tx_slots and
rx_slots config variables. This commit utilizes those
variables in get_hw_params() function in order to
return hardware stream parameters correctly.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
@jajanusz jajanusz modified the milestone: v1.5 Feb 25, 2020
@lgirdwood
lgirdwood merged commit 1966065 into thesofproject:master Feb 26, 2020
@lgirdwood

Copy link
Copy Markdown
Member

Internal CI is showing a regression from a previous commit that needs to be bisected. This is a fix so should improve the CI results.

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.

5 participants