forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Capture hw mute indicator #5310
Draft
jsarha
wants to merge
5
commits into
thesofproject:topic/sof-dev
Choose a base branch
from
jsarha:capture-hw-mute-indicator
base: topic/sof-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Capture hw mute indicator #5310
jsarha
wants to merge
5
commits into
thesofproject:topic/sof-dev
from
jsarha:capture-hw-mute-indicator
Conversation
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
Add enum for global kcontrol IDs and SOF_IPC4_KCONTROL_GLOBAL_CAPTURE_HW_MUTE in it. Signed-off-by: Jyri Sarha <[email protected]>
…rams Add SOF_IPC4_FW_GLOBAL_KCONTROL_MASK to fw_config_params. The purpose is to inform the driver which global kcontrols are supported by the FW. Signed-off-by: Jyri Sarha <[email protected]>
ujfalusi
reviewed
Jan 28, 2025
a77b6d4
to
50568cb
Compare
Implement global kcontrol concept and add capture hw mute indicator implementation in it. Signed-off-by: Jyri Sarha <[email protected]>
50568cb
to
a61cf73
Compare
…cator This is inteded for driving the mute indicator following dsp power state. If dsp is powerred down the capture muted state should be indicated. Signed-off-by: Jyri Sarha <[email protected]>
Force global capture hw mute to muted state when DSP is powered down. This is done by calling snd_ipc4_global_capture_hw_mute_force() from hda_dsp_set_power_state_ipc4(). Signed-off-by: Jyri Sarha <[email protected]>
a61cf73
to
d65892b
Compare
Now the PR contains also the code force the capture hw mute indicator to muted state, when DSP is powered down. |
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.
There are some missing pieces in this code, but I wanted to make it available before I go to short vacation in the end of the week. The missing pieces are:
To test the code, this SOF draft PR can be used: #5310
When integrating the pieces to SOF mic_privacy code, the driver side expects a privacy state update when the DSP has booted up.
There are still unsolved issues to this concept (how to combine SDW/host-linux and DMIC/sof-FW mute status to one indicator) and they need to be resolved, before this work can be finished.