fireworks.c (6a22683e89e2c851f754ebbec0f2a53f2967bc07) | fireworks.c (a63d3ff1059a4d2236521e4fdbafabfc62b4f81a) |
---|---|
1/* 2 * fireworks.c - a part of driver for Fireworks based devices 3 * 4 * Copyright (c) 2009-2010 Clemens Ladisch 5 * Copyright (c) 2013-2014 Takashi Sakamoto 6 * 7 * Licensed under the terms of the GNU General Public License, version 2. 8 */ --- 212 unchanged lines hidden (view full) --- 221 err = get_hardware_info(efw); 222 if (err < 0) 223 goto error; 224 if (entry->model_id == MODEL_ECHO_AUDIOFIRE_9) 225 efw->is_af9 = true; 226 227 snd_efw_proc_init(efw); 228 | 1/* 2 * fireworks.c - a part of driver for Fireworks based devices 3 * 4 * Copyright (c) 2009-2010 Clemens Ladisch 5 * Copyright (c) 2013-2014 Takashi Sakamoto 6 * 7 * Licensed under the terms of the GNU General Public License, version 2. 8 */ --- 212 unchanged lines hidden (view full) --- 221 err = get_hardware_info(efw); 222 if (err < 0) 223 goto error; 224 if (entry->model_id == MODEL_ECHO_AUDIOFIRE_9) 225 efw->is_af9 = true; 226 227 snd_efw_proc_init(efw); 228 |
229 if (efw->midi_out_ports || efw->midi_in_ports) { 230 err = snd_efw_create_midi_devices(efw); 231 if (err < 0) 232 goto error; 233 } 234 |
|
229 err = snd_efw_stream_init_duplex(efw); 230 if (err < 0) 231 goto error; 232 233 err = snd_card_register(card); 234 if (err < 0) { 235 snd_efw_stream_destroy_duplex(efw); 236 goto error; --- 85 unchanged lines hidden --- | 235 err = snd_efw_stream_init_duplex(efw); 236 if (err < 0) 237 goto error; 238 239 err = snd_card_register(card); 240 if (err < 0) { 241 snd_efw_stream_destroy_duplex(efw); 242 goto error; --- 85 unchanged lines hidden --- |