diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-29 12:27:57 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-29 12:27:57 +0200 |
commit | e32cf9fc7ea25ea848268282810f3e3c75f030ec (patch) | |
tree | f00cfe001b31a5e69ba96b85db6c296e4bed48bf | |
parent | 3ce338f02d15dfc32a2fa4d0f5a71df5cb796c1f (diff) | |
download | hda-emu-e32cf9fc7ea25ea848268282810f3e3c75f030ec.tar.gz |
Fix missing card setup in bus
Otherwise it oopses at error.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | hda-emu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1540,6 +1540,7 @@ int main(int argc, char **argv) #else /* HAVE_BUS_OPS */ err = snd_hdac_bus_init(&_bus.core, NULL, NULL, NULL); bus = &_bus; + bus->card = &card; mutex_init(&bus->prepare_mutex); #endif /* HAVE_BUS_OPS */ #else /* NEW_HDA_INFRA */ |