Skip to content

Conversation

@RanderWang
Copy link

@RanderWang RanderWang commented Apr 10, 2020

The number of amp codec is different on each sdw platform. Ucm
needs to check amp number to include different config file.

Signed-off-by: randerwang rander.wang@linux.intel.com

bardliao
bardliao previously approved these changes Apr 10, 2020
Copy link
Collaborator

@bardliao bardliao left a comment

Choose a reason for hiding this comment

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

Thanks @RanderWang LGTM.

@plbossart
Copy link
Member

@RanderWang do we actually need to add a quirk?
We do need a quirk to figure out if there are 2 or 4 speakers, but the number of amps could come from the code itself. We know that based on the ACPI information.

@RanderWang
Copy link
Author

@RanderWang do we actually need to add a quirk?
We do need a quirk to figure out if there are 2 or 4 speakers, but the number of amps could come from the code itself. We know that based on the ACPI information.

yes, good idea! Update my PR, thanks!

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

minor nit-pick on the commit message - but good otherwise

The number of speaker amplifiers may vary between platforms. Ucm
needs to check amp number to include different configuration files.
This patch keeps track of the number of speaker amplifiers and
stores it in components string of the card.

Tested on Comet Lake platforms.

Signed-off-by: randerwang <rander.wang@linux.intel.com>
@RanderWang RanderWang changed the title ASoC: Intel: sof_sdw: add amp number in components for ucm ASoC: Intel: sof_sdw: add amp number in components string for ucm Apr 14, 2020
@RanderWang
Copy link
Author

@plbossart thanks, update my comments.

Copy link
Collaborator

@bardliao bardliao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

thanks @RanderWang

@plbossart plbossart merged commit a6922c3 into thesofproject:topic/sof-dev Apr 14, 2020
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