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

treewide: zephyr: add sof_ prefix to dma_get/put() #9753

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Dec 20, 2024

Add "sof_" namespace to dma_get()/put() calls in and modify all uses of the interface for builds with native Zephyr drivers.

Keep the old name for XTOS builds. This reduces the amount of code that needs to be touched, and in XTOS code, there is no confusion with the namespaces as all dma_foo() calls are to SOF DMA layer.

Link: #9561

Add "sof_" namespace to dma_get()/put() calls in and modify all
uses of the interface for builds with native Zephyr drivers.

Keep the old name for XTOS builds. This reduces the amount of
code that needs to be touched, and in XTOS code, there is no
confusion with the namespaces as all dma_foo() calls are to SOF
DMA layer.

Link: thesofproject#9561
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Dec 20, 2024

A scaled-down version of #9728 . This one only changes names of the functions, which is easier to do that trying to rename "struct dma".

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Easy to follow what are Zephyr APIS and what are SOF legacy DMA APIs.

@lgirdwood
Copy link
Member

@dbaluta @andyross @bhiregoudar fyi.

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.

3 participants