Skip to content

Fixes for module adapter#5872

Merged
dbaluta merged 3 commits intothesofproject:mainfrom
ranj063:fix/module_adapter_1
Jun 2, 2022
Merged

Fixes for module adapter#5872
dbaluta merged 3 commits intothesofproject:mainfrom
ranj063:fix/module_adapter_1

Conversation

@ranj063
Copy link
Collaborator

@ranj063 ranj063 commented May 31, 2022

No description provided.

ranj063 added 3 commits May 31, 2022 09:00
Give the comp_drv structures unique names. This is needed to avoid name
collisions when declaring multiple components from the same file, for
ex: in the case of volume, we declare both the volume and gain
components.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Limit copying the source samples to the minimum of in_buff_size or the
number of source samples available.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Writeback the buffer stream after copying.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
@ranj063 ranj063 marked this pull request as ready for review May 31, 2022 16:20
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.

Looks like we can get this in for v2.2

Copy link
Collaborator

@dbaluta dbaluta left a comment

Choose a reason for hiding this comment

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

Looks good to me. Tested on i.mx8mp.

@dbaluta dbaluta merged commit 6c3bfae into thesofproject:main Jun 2, 2022
@ranj063 ranj063 deleted the fix/module_adapter_1 branch June 2, 2022 15:53
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