Commit 5b7f7fa
committed
ASoC: SOF: Intel: hda-dai: use lowest channels
The ch_mask in a link indicates the locations of the channels.
However, the channels used in each stream are the lowest channels.
So convert ch_mask to GENMASK(hweight_long(ch_mask) - 1, 0).
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 527c09f commit 5b7f7fa
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
| |||
0 commit comments