tangled
alpha
login
or
join now
tjh.dev
/
kernel
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'topic/asoc' into for-linus
Takashi Iwai
17 years ago
9d7eff60
cd8faac3
+4
1 changed file
expand all
collapse all
unified
split
sound
soc
davinci
davinci-sffsdr.c
+4
sound/soc/davinci/davinci-sffsdr.c
···
24
24
#include <sound/soc-dapm.h>
25
25
26
26
#include <asm/dma.h>
27
27
+
#include <asm/mach-types.h>
27
28
#include <asm/plat-sffsdr/sffsdr-fpga.h>
28
29
29
30
#include <mach/mcbsp.h>
···
115
114
static int __init sffsdr_init(void)
116
115
{
117
116
int ret;
117
117
+
118
118
+
if (!machine_is_sffsdr())
119
119
+
return -EINVAL;
118
120
119
121
sffsdr_snd_device = platform_device_alloc("soc-audio", 0);
120
122
if (!sffsdr_snd_device) {