alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: omap3pandora: Fix compilation error
@ 2013-03-05 14:24 Peter Ujfalusi
  2013-03-06  4:49 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Ujfalusi @ 2013-03-05 14:24 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, notasas, Jarkko Nikula

Fixes:
sound/soc/omap/omap3pandora.c: In function ‘omap3pandora_dac_event’:
sound/soc/omap/omap3pandora.c:92:19: error: request for member ‘dev’ in something not a structure or union
make[3]: *** [sound/soc/omap/omap3pandora.o] Error 1

Which is introduced by:
dd194b4 ASoC: omap: Check regulator enable for DAC on Pandora

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 sound/soc/omap/omap3pandora.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/omap/omap3pandora.c b/sound/soc/omap/omap3pandora.c
index 10ced9d..9e46e1d 100644
--- a/sound/soc/omap/omap3pandora.c
+++ b/sound/soc/omap/omap3pandora.c
@@ -89,7 +89,7 @@ static int omap3pandora_dac_event(struct snd_soc_dapm_widget *w,
 	if (SND_SOC_DAPM_EVENT_ON(event)) {
 		ret = regulator_enable(omap3pandora_dac_reg);
 		if (ret) {
-			dev_err(w->dapm.dev, "Failed to power DAC: %d\n", ret);
+			dev_err(w->dapm->dev, "Failed to power DAC: %d\n", ret);
 			return ret;
 		}
 		mdelay(1);
-- 
1.8.1.5

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: omap3pandora: Fix compilation error
  2013-03-05 14:24 [PATCH] ASoC: omap3pandora: Fix compilation error Peter Ujfalusi
@ 2013-03-06  4:49 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-03-06  4:49 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: Liam Girdwood, alsa-devel, notasas, Jarkko Nikula


[-- Attachment #1.1: Type: text/plain, Size: 341 bytes --]

On Tue, Mar 05, 2013 at 03:24:16PM +0100, Peter Ujfalusi wrote:
> Fixes:
> sound/soc/omap/omap3pandora.c: In function ‘omap3pandora_dac_event’:
> sound/soc/omap/omap3pandora.c:92:19: error: request for member ‘dev’ in something not a structure or union
> make[3]: *** [sound/soc/omap/omap3pandora.o] Error 1

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-06  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 14:24 [PATCH] ASoC: omap3pandora: Fix compilation error Peter Ujfalusi
2013-03-06  4:49 ` 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).