Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148263
b: refs/heads/master
c: eaaa532
h: refs/heads/master
i:
  148261: 170985e
  148259: 32fe030
  148255: 6298a94
v: v3
  • Loading branch information
Mike Rapoport authored and Mark Brown committed May 12, 2009
1 parent 53c4046 commit 24ad53f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31cb31f76e030ae05ed45f409ce5eb68ef2987f6
refs/heads/master: eaaa5328835d8085d24221a0e5ceaacbe14a7523
4 changes: 2 additions & 2 deletions trunk/sound/soc/pxa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ config SND_PXA2XX_SOC_E800
Toshiba e800 PDA

config SND_PXA2XX_SOC_EM_X270
tristate "SoC Audio support for CompuLab EM-x270"
tristate "SoC Audio support for CompuLab EM-x270, eXeda and CM-X300"
depends on SND_PXA2XX_SOC && MACH_EM_X270
select SND_PXA2XX_SOC_AC97
select SND_SOC_WM9712
help
Say Y if you want to add support for SoC audio on
CompuLab EM-x270.
CompuLab EM-x270, eXeda and CM-X300 machines.

config SND_PXA2XX_SOC_PALM27X
bool "SoC Audio support for Palm T|X, T5 and LifeDrive"
Expand Down
9 changes: 5 additions & 4 deletions trunk/sound/soc/pxa/em-x270.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* em-x270.c -- SoC audio for EM-X270
* SoC audio driver for EM-X270, eXeda and CM-X300
*
* Copyright 2007 CompuLab, Ltd.
* Copyright 2007, 2009 CompuLab, Ltd.
*
* Author: Mike Rapoport <mike@compulab.co.il>
*
Expand Down Expand Up @@ -68,7 +68,8 @@ static int __init em_x270_init(void)
{
int ret;

if (!machine_is_em_x270())
if (!(machine_is_em_x270() || machine_is_exeda()
|| machine_is_cm_x300()))
return -ENODEV;

em_x270_snd_device = platform_device_alloc("soc-audio", -1);
Expand All @@ -95,5 +96,5 @@ module_exit(em_x270_exit);

/* Module information */
MODULE_AUTHOR("Mike Rapoport");
MODULE_DESCRIPTION("ALSA SoC EM-X270");
MODULE_DESCRIPTION("ALSA SoC EM-X270, eXeda and CM-X300");
MODULE_LICENSE("GPL");

0 comments on commit 24ad53f

Please sign in to comment.