dice.c (9a02843caefbc370ef6d5895881101f9436f98da) dice.c (a113ff886b9a6e892dd4107be1fd7883cf020885)
1/*
2 * TC Applied Technologies Digital Interface Communications Engine driver
3 *
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Licensed under the terms of the GNU General Public License, version 2.
6 */
7
8#include "dice.h"

--- 265 unchanged lines hidden (view full) ---

274 goto error;
275
276 err = snd_dice_create_hwdep(dice);
277 if (err < 0)
278 goto error;
279
280 snd_dice_create_proc(dice);
281
1/*
2 * TC Applied Technologies Digital Interface Communications Engine driver
3 *
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Licensed under the terms of the GNU General Public License, version 2.
6 */
7
8#include "dice.h"

--- 265 unchanged lines hidden (view full) ---

274 goto error;
275
276 err = snd_dice_create_hwdep(dice);
277 if (err < 0)
278 goto error;
279
280 snd_dice_create_proc(dice);
281
282 err = snd_dice_create_midi(dice);
283 if (err < 0)
284 goto error;
285
282 err = snd_dice_stream_init_duplex(dice);
283 if (err < 0)
284 goto error;
285
286 err = snd_card_register(card);
287 if (err < 0) {
288 snd_dice_stream_destroy_duplex(dice);
289 goto error;

--- 68 unchanged lines hidden ---
286 err = snd_dice_stream_init_duplex(dice);
287 if (err < 0)
288 goto error;
289
290 err = snd_card_register(card);
291 if (err < 0) {
292 snd_dice_stream_destroy_duplex(dice);
293 goto error;

--- 68 unchanged lines hidden ---