pxa2xx-ac97.c (c2a7dcad9f0d92d7a96e735abb8bec7b9c621536) pxa2xx-ac97.c (f78dfac904325a996b8f97b045647898cc1ccc40)
1/*
2 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
3 *
4 * Author: Nicolas Pitre
5 * Created: Dec 02, 2004
6 * Copyright: MontaVista Software Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify

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

347 if (ret)
348 goto err;
349
350 snprintf(card->shortname, sizeof(card->shortname),
351 "%s", snd_ac97_get_short_name(pxa2xx_ac97_ac97));
352 snprintf(card->longname, sizeof(card->longname),
353 "%s (%s)", dev->dev.driver->name, card->mixername);
354
1/*
2 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
3 *
4 * Author: Nicolas Pitre
5 * Created: Dec 02, 2004
6 * Copyright: MontaVista Software Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify

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

347 if (ret)
348 goto err;
349
350 snprintf(card->shortname, sizeof(card->shortname),
351 "%s", snd_ac97_get_short_name(pxa2xx_ac97_ac97));
352 snprintf(card->longname, sizeof(card->longname),
353 "%s (%s)", dev->dev.driver->name, card->mixername);
354
355 snd_card_set_dev(card, &dev->dev);
355 ret = snd_card_register(card);
356 if (ret == 0) {
357 platform_set_drvdata(dev, card);
358 return 0;
359 }
360
361 err:
362 if (card)

--- 50 unchanged lines hidden ---
356 ret = snd_card_register(card);
357 if (ret == 0) {
358 platform_set_drvdata(dev, card);
359 return 0;
360 }
361
362 err:
363 if (card)

--- 50 unchanged lines hidden ---