~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to sound/mips/au1x00.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
636
636
        struct snd_card *card;
637
637
        struct snd_au1000 *au1000;
638
638
 
639
 
        card = snd_card_new(-1, "AC97", THIS_MODULE, sizeof(struct snd_au1000));
640
 
        if (card == NULL)
641
 
                return -ENOMEM;
 
639
        err = snd_card_create(-1, "AC97", THIS_MODULE,
 
640
                              sizeof(struct snd_au1000), &card);
 
641
        if (err < 0)
 
642
                return err;
642
643
 
643
644
        card->private_free = snd_au1000_free;
644
645
        au1000 = card->private_data;
678
679
                return err;
679
680
        }
680
681
 
681
 
        printk( KERN_INFO "ALSA AC97: Driver Initialized\n" );
 
682
        printk(KERN_INFO "ALSA AC97: Driver Initialized\n");
682
683
        au1000_card = card;
683
684
        return 0;
684
685
}