diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-05 21:34:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-05 21:34:12 -0500 |
commit | c155b914651753f843445d2f860bc00137df5d52 (patch) | |
tree | 8a90674dfad7dd7e470d64819f8b7b490de35c2d /sound/soc/davinci/davinci-sffsdr.c | |
parent | e9af797d757d358f60130de6ca59ee658d666561 (diff) | |
parent | 3a5e1d1792729f384c10db966feb8bab76c991ed (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: ice1724 - Fix a typo in IEC958 PCM name
ASoC: fix davinci-sffsdr buglet
ALSA: sound/usb: Use negated usb_endpoint_xfer_control, etc
ALSA: hda - cxt5051 report jack state
ALSA: hda - add basic jack reporting functions to patch_conexant.c
ALSA: Use usb_set/get_intfdata
ASoC: Clean up kerneldoc warnings
ASoC: Fix pxa2xx-pcm checks for invalid DMA channels
LSA: hda - Add HP Acacia detection
ALSA: hda - fix name for ALC1200
ALSA: sound/usb: use USB API functions rather than constants
ASoC: TWL4030: DAPM based capture implementation
ASoC: TWL4030: Make the enum filter generic for twl4030
Diffstat (limited to 'sound/soc/davinci/davinci-sffsdr.c')
-rw-r--r-- | sound/soc/davinci/davinci-sffsdr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c index f67579d52765..4935d1bcbd8d 100644 --- a/sound/soc/davinci/davinci-sffsdr.c +++ b/sound/soc/davinci/davinci-sffsdr.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <sound/soc-dapm.h> | 24 | #include <sound/soc-dapm.h> |
25 | 25 | ||
26 | #include <asm/dma.h> | 26 | #include <asm/dma.h> |
27 | #include <asm/mach-types.h> | ||
27 | #include <asm/plat-sffsdr/sffsdr-fpga.h> | 28 | #include <asm/plat-sffsdr/sffsdr-fpga.h> |
28 | 29 | ||
29 | #include <mach/mcbsp.h> | 30 | #include <mach/mcbsp.h> |
@@ -115,6 +116,9 @@ static int __init sffsdr_init(void) | |||
115 | { | 116 | { |
116 | int ret; | 117 | int ret; |
117 | 118 | ||
119 | if (!machine_is_sffsdr()) | ||
120 | return -EINVAL; | ||
121 | |||
118 | sffsdr_snd_device = platform_device_alloc("soc-audio", 0); | 122 | sffsdr_snd_device = platform_device_alloc("soc-audio", 0); |
119 | if (!sffsdr_snd_device) { | 123 | if (!sffsdr_snd_device) { |
120 | printk(KERN_ERR "platform device allocation failed\n"); | 124 | printk(KERN_ERR "platform device allocation failed\n"); |