lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 3 Jul 2009 14:22:01 -0700
From:	David Brownell <david-b@...bell.net>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	akpm <akpm@...ux-foundation.org>, linux-next@...r.kernel.org,
	LKML <linux-kernel@...r.kernel.org>,
	lud <linux-usb@...r.kernel.org>
Subject: Re: [PATCH -next] gadget audio: select SND_PCM

On Friday 03 July 2009, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@...cle.com>
> 
> Fix USB gadget audio: select SND_PCM, like many other sound
> drivers do, to fix build errors:
> 
> drivers/built-in.o: In function `f_audio_playback_work':
> audio.c:(.text+0x15a3e7): undefined reference to `snd_pcm_kernel_ioctl'
> audio.c:(.text+0x15a471): undefined reference to `snd_pcm_lib_write'
> drivers/built-in.o: In function `_snd_pcm_hw_param_set':
> audio.c:(.text+0x15aca7): undefined reference to `snd_interval_refine'
> drivers/built-in.o: In function `gaudio_setup':
> (.init.text+0x12adf): undefined reference to `_snd_pcm_hw_params_any'
> drivers/built-in.o: In function `gaudio_setup':
> (.init.text+0x12b43): undefined reference to `snd_pcm_kernel_ioctl'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>

Acked-by: David Brownell <dbrownell@...rs.sourceforge.net>


> ---
>  drivers/usb/gadget/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20090703.orig/drivers/usb/gadget/Kconfig
> +++ linux-next-20090703/drivers/usb/gadget/Kconfig
> @@ -604,6 +604,7 @@ config USB_ZERO_HNPTEST
>  config USB_AUDIO
>  	tristate "Audio Gadget (EXPERIMENTAL)"
>  	depends on SND
> +	select SND_PCM
>  	help
>  	  Gadget Audio is compatible with USB Audio Class specification 1.0.
>  	  It will include at least one AudioControl interface, zero or more
> 
> 
> 
> 
> ---
> ~Randy
> LPC 2009, Sept. 23-25, Portland, Oregon
> http://linuxplumbersconf.org/2009/
> 
> 



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ