mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ASoC: Add a per component dai list
Now that every DAI has a component we can track the DAIs on a per component basis. This simplifies the DAI lookup when we are only interested in DAIs of a specific component and also makes it possible to have multiple components with the same parent device and also register DAIs. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
6cc240f39d
commit
1438c2f60b
2 changed files with 36 additions and 42 deletions
|
|
@ -671,6 +671,8 @@ struct snd_soc_component {
|
|||
int num_dai;
|
||||
|
||||
const struct snd_soc_component_driver *driver;
|
||||
|
||||
struct list_head dai_list;
|
||||
};
|
||||
|
||||
/* SoC Audio Codec device */
|
||||
|
|
|
|||
Loading…
Reference in a new issue