~ubuntu-branches/ubuntu/precise/alsa-driver/precise

« back to all changes in this revision

Viewing changes to alsa-kernel/soc/pxa/em-x270.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-11-04 16:28:58 UTC
  • mfrom: (1.1.12 upstream) (3.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091104162858-7ky0tu33d7mn6oys
Tags: 1.0.21+dfsg-3ubuntu1
* Merge from debian unstable, remaining changes:
  - Script paths (/usr/sbin -> /sbin, /usr/bin -> /bin);
  - debian/rules:
    + Don't install snddevices and program-wrapper
    + install alsa-base apport hook
    + Package separate USB card list file
  - Vcs and maintainer fields mangling
  - Rename blacklist files in /etc/modprobe.d to be consistant with the rest
    of the distro
  - debian/alsa-base.init:
    + create /var/run/alsa if it doesn't exist
    + Run alsactl store before force unloading modules
    + Run alsactl restore after reloading unloaded modules
  - debian/linux-sound-base.postrm: Remove /etc/modprobe.d/blacklist* files
    on package removal
  - Add missing $CMDLINE_OPTS to all install rules.
  - Replace -Q with --quiet.
  - Add --use-blacklist to all rules so the blacklist still takes effect.
  - debian/alsa-base.postinst: Do not run snddevices
  - retain patches:
    + add_suspend_quirk_hp_nc6220_nw8240.patch,
    + refix_lp_68659_by_disabling_dxs_for_0x1458a002.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * em-x270.c  --  SoC audio for EM-X270
 
2
 * SoC audio driver for EM-X270, eXeda and CM-X300
3
3
 *
4
 
 * Copyright 2007 CompuLab, Ltd.
 
4
 * Copyright 2007, 2009 CompuLab, Ltd.
5
5
 *
6
6
 * Author: Mike Rapoport <mike@compulab.co.il>
7
7
 *
68
68
{
69
69
        int ret;
70
70
 
71
 
        if (!machine_is_em_x270())
 
71
        if (!(machine_is_em_x270() || machine_is_exeda()
 
72
              || machine_is_cm_x300()))
72
73
                return -ENODEV;
73
74
 
74
75
        em_x270_snd_device = platform_device_alloc("soc-audio", -1);
95
96
 
96
97
/* Module information */
97
98
MODULE_AUTHOR("Mike Rapoport");
98
 
MODULE_DESCRIPTION("ALSA SoC EM-X270");
 
99
MODULE_DESCRIPTION("ALSA SoC EM-X270, eXeda and CM-X300");
99
100
MODULE_LICENSE("GPL");