-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topology2: sdw-amp-generic: Remove hardcoded number of feedback channels
Replace the hardcoded assumption of 2 feedback channels per link A new constant AMP_FEEDBACK_CH_PER_LINK is added to set the number of channels for the link BE DAI, replacing the original hardcoded value of 2. The default values are: For NUM_SDW_AMP_LINKS=1: AMP_FEEDBACK_CH=2, AMP_FEEDBACK_CH_PER_LINK=2 For NUM_SDW_AMP_LINKS=2: AMP_FEEDBACK_CH=4, AMP_FEEDBACK_CH_PER_LINK=2 The alh-copier definition has been rewritten so that it is based only on AMP_FEEDBACK_CH, instead of making assumptions from NUM_SDW_AMP_LINKS. It supports 2 or 4 total feedback channels. Support for 1 and 3 feedback channels has not been included because these are unusual and the code is smaller without them. They can be added later if they are needed. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
- Loading branch information
Showing
1 changed file
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters