[ALSA] Add snd_card_set_generic_dev() call
ARM,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,MIPS MIPS AU1x00 driver,PPC,PPC PowerMac driver,SPARC,SPARC AMD7930 driver SPARC cs4231 driver,SPARC DBRI driver - Added snd_card_set_generic_dev() call. - Added SND_GENERIC_DRIVER to Kconfig. - Clean up the error path in probe if necessary. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Esse commit está contido em:
@@ -757,6 +757,9 @@ static int __init alsa_card_mtpav_init(void)
|
||||
if (err < 0)
|
||||
goto __error;
|
||||
|
||||
if ((err = snd_card_set_generic_dev(mtp_card->card)) < 0)
|
||||
goto __error;
|
||||
|
||||
err = snd_card_register(mtp_card->card); // don't snd_card_register until AFTER all cards reources done!
|
||||
|
||||
//printk("snd_card_register returned %d\n", err);
|
||||
|
Referência em uma nova issue
Block a user