* [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c
@ 2012-02-10 6:54 Axel Lin
2012-02-10 10:10 ` Jarkko Nikula
2012-02-10 11:38 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2012-02-10 6:54 UTC (permalink / raw)
To: alsa-devel; +Cc: Jarkko Nikula, Liam Girdwood, Mark Brown, linux-omap
Fix below build error which is introduced by
commit 022658 "ASoC: core: Add support for DAI and machine kcontrols".
CC [M] sound/soc/omap/n810.o
sound/soc/omap/n810.c: In function 'n810_set_input':
sound/soc/omap/n810.c:194: error: 'codec' undeclared (first use in this function)
sound/soc/omap/n810.c:194: error: (Each undeclared identifier is reported only once
sound/soc/omap/n810.c:194: error: for each function it appears in.)
sound/soc/omap/n810.c:188: warning: unused variable 'card'
make[3]: *** [sound/soc/omap/n810.o] Error 1
make[2]: *** [sound/soc/omap] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/omap/n810.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c
index 1490227..c292bf0 100644
--- a/sound/soc/omap/n810.c
+++ b/sound/soc/omap/n810.c
@@ -191,7 +191,7 @@ static int n810_set_input(struct snd_kcontrol *kcontrol,
return 0;
n810_dmic_func = ucontrol->value.integer.value[0];
- n810_ext_control(codec);
+ n810_ext_control(&card->dapm);
return 1;
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c
2012-02-10 6:54 [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c Axel Lin
@ 2012-02-10 10:10 ` Jarkko Nikula
2012-02-10 11:38 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Jarkko Nikula @ 2012-02-10 10:10 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Liam Girdwood, Mark Brown, linux-omap
On 02/10/2012 08:54 AM, Axel Lin wrote:
> Fix below build error which is introduced by
> commit 022658 "ASoC: core: Add support for DAI and machine kcontrols".
>
> CC [M] sound/soc/omap/n810.o
> sound/soc/omap/n810.c: In function 'n810_set_input':
> sound/soc/omap/n810.c:194: error: 'codec' undeclared (first use in this function)
> sound/soc/omap/n810.c:194: error: (Each undeclared identifier is reported only once
> sound/soc/omap/n810.c:194: error: for each function it appears in.)
> sound/soc/omap/n810.c:188: warning: unused variable 'card'
> make[3]: *** [sound/soc/omap/n810.o] Error 1
> make[2]: *** [sound/soc/omap] Error 2
> make[1]: *** [sound/soc] Error 2
> make: *** [sound] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> sound/soc/omap/n810.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c
2012-02-10 6:54 [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c Axel Lin
2012-02-10 10:10 ` Jarkko Nikula
@ 2012-02-10 11:38 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-02-10 11:38 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Jarkko Nikula, Liam Girdwood, linux-omap
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
On Fri, Feb 10, 2012 at 02:54:37PM +0800, Axel Lin wrote:
> Fix below build error which is introduced by
> commit 022658 "ASoC: core: Add support for DAI and machine kcontrols".
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-10 11:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 6:54 [PATCH] ASoC: Fix build error in sound/soc/omap/n810.c Axel Lin
2012-02-10 10:10 ` Jarkko Nikula
2012-02-10 11:38 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).