You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e1b8ab1
Browse filesBrowse the repository at this point in the historyBrowse files
audio: dai-zephyr: migrate to use dai_get_properties_copy()
Modify code to allocate DAI properties object on stack and use
dai_get_properties_copy() whenever available. Add a static helper
function to share the implementation.
This change is required to enable DAI code to run in user-space.
In this scenario, it's not possible to directly use an object
returned by driver, but instead data needs to be copied to user-space.
As a side benefit, the need to use locking to protect the properties
data is limited the fallback case when a driver does not implement
the get_properties_copy() method and SOF is built with LL code running
in kernel space.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
0 commit comments