| OLD | NEW |
| 1 /* | 1 /* |
| 2 * SoC audio driver for EM-X270, eXeda and CM-X300 | 2 * SoC audio driver for EM-X270, eXeda and CM-X300 |
| 3 * | 3 * |
| 4 * Copyright 2007, 2009 CompuLab, Ltd. | 4 * Copyright 2007, 2009 CompuLab, Ltd. |
| 5 * | 5 * |
| 6 * Author: Mike Rapoport <mike@compulab.co.il> | 6 * Author: Mike Rapoport <mike@compulab.co.il> |
| 7 * | 7 * |
| 8 * Copied from tosa.c: | 8 * Copied from tosa.c: |
| 9 * Copyright 2005 Wolfson Microelectronics PLC. | 9 * Copyright 2005 Wolfson Microelectronics PLC. |
| 10 * Copyright 2005 Openedhand Ltd. | 10 * Copyright 2005 Openedhand Ltd. |
| 11 * | 11 * |
| 12 * Authors: Liam Girdwood <lrg@slimlogic.co.uk> | 12 * Authors: Liam Girdwood <lrg@slimlogic.co.uk> |
| 13 * Richard Purdie <richard@openedhand.com> | 13 * Richard Purdie <richard@openedhand.com> |
| 14 * | 14 * |
| 15 * This program is free software; you can redistribute it and/or modify it | 15 * This program is free software; you can redistribute it and/or modify it |
| 16 * under the terms of the GNU General Public License as published by the | 16 * under the terms of the GNU General Public License as published by the |
| 17 * Free Software Foundation; either version 2 of the License, or (at your | 17 * Free Software Foundation; either version 2 of the License, or (at your |
| 18 * option) any later version. | 18 * option) any later version. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include <linux/module.h> | 22 #include <linux/module.h> |
| 23 #include <linux/moduleparam.h> | 23 #include <linux/moduleparam.h> |
| 24 #include <linux/device.h> | 24 #include <linux/device.h> |
| 25 | 25 |
| 26 #include <sound/core.h> | 26 #include <sound/core.h> |
| 27 #include <sound/pcm.h> | 27 #include <sound/pcm.h> |
| 28 #include <sound/soc.h> | 28 #include <sound/soc.h> |
| 29 #include <sound/soc-dapm.h> | |
| 30 | 29 |
| 31 #include <asm/mach-types.h> | 30 #include <asm/mach-types.h> |
| 32 #include <mach/audio.h> | 31 #include <mach/audio.h> |
| 33 | 32 |
| 34 #include "../codecs/wm9712.h" | 33 #include "../codecs/wm9712.h" |
| 35 #include "pxa2xx-ac97.h" | 34 #include "pxa2xx-ac97.h" |
| 36 | 35 |
| 37 static struct snd_soc_dai_link em_x270_dai[] = { | 36 static struct snd_soc_dai_link em_x270_dai[] = { |
| 38 { | 37 { |
| 39 .name = "AC97", | 38 .name = "AC97", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 platform_device_unregister(em_x270_snd_device); | 86 platform_device_unregister(em_x270_snd_device); |
| 88 } | 87 } |
| 89 | 88 |
| 90 module_init(em_x270_init); | 89 module_init(em_x270_init); |
| 91 module_exit(em_x270_exit); | 90 module_exit(em_x270_exit); |
| 92 | 91 |
| 93 /* Module information */ | 92 /* Module information */ |
| 94 MODULE_AUTHOR("Mike Rapoport"); | 93 MODULE_AUTHOR("Mike Rapoport"); |
| 95 MODULE_DESCRIPTION("ALSA SoC EM-X270, eXeda and CM-X300"); | 94 MODULE_DESCRIPTION("ALSA SoC EM-X270, eXeda and CM-X300"); |
| 96 MODULE_LICENSE("GPL"); | 95 MODULE_LICENSE("GPL"); |
| OLD | NEW |