-
Notifications
You must be signed in to change notification settings - Fork 133
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: SOF: core: Add debug module parameters to set IPC and boot timeout #5189
ASoC: SOF: core: Add debug module parameters to set IPC and boot timeout #5189
Conversation
sound/soc/sof/core.c
Outdated
@@ -636,11 +647,23 @@ int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) | |||
mutex_init(&sdev->ipc_client_mutex); | |||
mutex_init(&sdev->client_event_handler_mutex); | |||
|
|||
/* set default timeouts if none provided */ | |||
/* set IPC timeout */ |
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.
@ujfalusi there's a checkpatch warning related to the indentation and it looks legit. Do you mind checking? Perhaps moving the new parts after the following if/else to override the default value might be better?
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.
@ranj063, yes, probably that is better, I'll do that.
Add two module parameters to override the IPC and boot timeout values if the SOF stack is compiled with debug enabled to allow experimenting with different timeout values without the need to recompile the kernel. Signed-off-by: Peter Ujfalusi <[email protected]>
f8b852f
to
06ec568
Compare
Changes since v1:
|
Add two module parameters to override the IPC and boot timeout values if the SOF stack is compiled with debug enabled to allow experimenting with different timeout values without the need to recompile the kernel.