harmony.c (7fbb8759eff9a348efa5f352ffaa51c364837c4b) harmony.c (bd7dd77c2a05c530684eea2e3af16449ae9c5d52)
1/* Hewlett-Packard Harmony audio driver
2 *
3 * This is a driver for the Harmony audio chipset found
4 * on the LASI ASIC of various early HP PA-RISC workstations.
5 *
6 * Copyright (C) 2004, Kyle McMartin <kyle@{debian.org,parisc-linux.org}>
7 *
8 * Based on the previous Harmony incarnations by,

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

970
971static int __devinit
972snd_harmony_probe(struct parisc_device *padev)
973{
974 int err;
975 struct snd_card *card;
976 struct snd_harmony *h;
977
1/* Hewlett-Packard Harmony audio driver
2 *
3 * This is a driver for the Harmony audio chipset found
4 * on the LASI ASIC of various early HP PA-RISC workstations.
5 *
6 * Copyright (C) 2004, Kyle McMartin <kyle@{debian.org,parisc-linux.org}>
7 *
8 * Based on the previous Harmony incarnations by,

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

970
971static int __devinit
972snd_harmony_probe(struct parisc_device *padev)
973{
974 int err;
975 struct snd_card *card;
976 struct snd_harmony *h;
977
978 card = snd_card_new(index, id, THIS_MODULE, 0);
979 if (card == NULL)
980 return -ENOMEM;
978 err = snd_card_create(index, id, THIS_MODULE, 0, &card);
979 if (err < 0)
980 return err;
981
982 err = snd_harmony_create(card, padev, &h);
983 if (err < 0)
984 goto free_and_ret;
985
986 err = snd_harmony_pcm_init(h);
987 if (err < 0)
988 goto free_and_ret;

--- 55 unchanged lines hidden ---
981
982 err = snd_harmony_create(card, padev, &h);
983 if (err < 0)
984 goto free_and_ret;
985
986 err = snd_harmony_pcm_init(h);
987 if (err < 0)
988 goto free_and_ret;

--- 55 unchanged lines hidden ---