-
Notifications
You must be signed in to change notification settings - Fork 138
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
Dmic nhlt update #254
Dmic nhlt update #254
Conversation
Error if the version passed from topology is not known. Also fix the dmic_set_params() error prints for to show the correct function name. Signed-off-by: Seppo Ingalsuo <[email protected]> Signed-off-by: Jyri Sarha <[email protected]>
The former Burst Fifo ThresHold bits 20-23 in output register are specified as reserved bits starting from driver version 4. Signed-off-by: Seppo Ingalsuo <[email protected]> Signed-off-by: Jyri Sarha <[email protected]>
Many error prints had obsolete function name written in them, use __func__ everywhere and add problematic value to the print if its available. Signed-off-by: Jyri Sarha <[email protected]>
@singalsu , the PR is here. Please let me know when we are ready to mark this "Ready for review". |
@@ -781,7 +781,10 @@ static int configure_registers(struct intel_dmic_params *dmic, struct dmic_calc_ | |||
} | |||
} | |||
|
|||
if (dmic->dmic_prm[di].driver_version == 2 || dmic->dmic_prm[di].driver_version == 3) { | |||
if (dmic->dmic_prm[di].driver_version >= 2) { | |||
if (dmic->dmic_prm[di].driver_version >= 4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this saying that driver_version 4 and 5 are identical? I didn't see any other place where version 5 was checked, but it's allowed in the first patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now 4 and 5 are identical. If we need to enable new features of platform "5" there will be later more changes.
@perexg , I think this should be ready for merging. |
The former Burst Fifo ThresHold bits 20-23 in output register are specified as reserved bits starting from driver version 4. Closes: #254 Signed-off-by: Seppo Ingalsuo <[email protected]> Signed-off-by: Jyri Sarha <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
Many error prints had obsolete function name written in them, use __func__ everywhere and add problematic value to the print if its available. Closes: #254 Signed-off-by: Jyri Sarha <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
Driver version 4 update from for DMIC NHLT generator, and some error print improvements.