diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-08 12:03:56 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-26 17:27:39 +1100 |
commit | 85510ff4540c13609b3ec749a80638ae502fd098 (patch) | |
tree | 1da39b161a3a9d6eb3ac130836f5964349b86093 /dummy | |
parent | 470fdcb5f773ab45f715a665af6cb35a79ef38ce (diff) |
Add card to the configure callback
The loopback audio path might need to add it's own controls.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dummy/dummy.c b/dummy/dummy.c index 8808e8e..b77301f 100644 --- a/dummy/dummy.c +++ b/dummy/dummy.c @@ -231,14 +231,14 @@ static struct snd_pcm_ops dummyap_pcm_ops = { /******************************************************************************* * Dummy Audio Path AVIRT registration ******************************************************************************/ -int dummy_configure(struct config_group *avirt_stream_group, +int dummy_configure(struct snd_card *card, + struct config_group *avirt_stream_group, unsigned int stream_count) { // Do something with streams struct list_head *entry; - list_for_each(entry, &avirt_stream_group->cg_children) - { + list_for_each (entry, &avirt_stream_group->cg_children) { struct config_item *item = container_of(entry, struct config_item, ci_entry); struct avirt_stream *stream = |