projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83048ea
)
ALSA: hda/ca0132 - Slight optimization for build with DSP
author
Takashi Iwai
<tiwai@suse.de>
Mon, 11 Feb 2013 13:18:29 +0000
(14:18 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 11 Feb 2013 13:18:29 +0000
(14:18 +0100)
This reduces the resultant binary size.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_ca0132.c
b/sound/pci/hda/patch_ca0132.c
index fb7a32e730af40de6895f693dede5b51914c1e32..b1e099a3369ce9ec9ac3e15a784c1ba0ae05e43d 100644
(file)
--- a/
sound/pci/hda/patch_ca0132.c
+++ b/
sound/pci/hda/patch_ca0132.c
@@
-2615,6
+2615,7
@@
static int dspload_image(struct hda_codec *codec,
return status;
}
+#ifdef CONFIG_SND_HDA_CODEC_CA0132_DSP
static bool dspload_is_loaded(struct hda_codec *codec)
{
unsigned int data = 0;
@@
-2626,6
+2627,9
@@
static bool dspload_is_loaded(struct hda_codec *codec)
return true;
}
+#else
+#define dspload_is_loaded(codec) false
+#endif
static bool dspload_wait_loaded(struct hda_codec *codec)
{