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

component: fix doxygen args #9564

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

cujomalainey
Copy link
Member

Spec is missing and config was incorrect.

@@ -282,7 +282,8 @@ struct comp_ops {
/**
* Creates a new component device.
* @param drv Parent component driver.
* @param comp Component parameters.
* @param ipc_config Component parameters.
* @param spec Pointer to initialization data
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was expecting parameter-name to match the C signature (i.e. "ipc_specific_config"), but I guess it doesn't matter (either to doxygen or the person consuming the docs).

Copy link
Member Author

Choose a reason for hiding this comment

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

force of habit, every single module calls this arg spec in their implementation. I am going to update the signature to match that.

3rd is missing and config was incorrect. Rename 3rd arg in signature to
match name most commonly used by implementers.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@lgirdwood
Copy link
Member

@wszypelt @lrudyX not expecting this to fail as its a doxygen update. Good to merge ?

@lgirdwood lgirdwood merged commit 4575d32 into thesofproject:main Oct 16, 2024
45 of 47 checks passed
@cujomalainey cujomalainey deleted the doxygen branch October 16, 2024 16:20
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.

4 participants