aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/Kconfig2
-rw-r--r--sound/core/memalloc.c4
-rw-r--r--sound/core/pcm_native.c2
-rw-r--r--sound/firewire/cmp.c2
-rw-r--r--sound/mips/Kconfig2
-rw-r--r--sound/oss/Kconfig4
-rw-r--r--sound/soc/au1x/Kconfig2
-rw-r--r--sound/soc/davinci/Kconfig1
-rw-r--r--sound/usb/card.c2
9 files changed, 9 insertions, 12 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index 1fef141ef8e7..261a03c8a209 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -59,7 +59,7 @@ config SOUND_OSS_CORE_PRECLAIM
59 59
60source "sound/oss/dmasound/Kconfig" 60source "sound/oss/dmasound/Kconfig"
61 61
62if !M68K 62if !M68K && !UML
63 63
64menuconfig SND 64menuconfig SND
65 tristate "Advanced Linux Sound Architecture" 65 tristate "Advanced Linux Sound Architecture"
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index 16bd9c03679b..691569238435 100644
--- a/sound/core/memalloc.c
+++ b/sound/core/memalloc.c
@@ -176,7 +176,7 @@ static void snd_free_dev_pages(struct device *dev, size_t size, void *ptr,
176 * Calls the memory-allocator function for the corresponding 176 * Calls the memory-allocator function for the corresponding
177 * buffer type. 177 * buffer type.
178 * 178 *
179 * Returns zero if the buffer with the given size is allocated successfuly, 179 * Returns zero if the buffer with the given size is allocated successfully,
180 * other a negative value at error. 180 * other a negative value at error.
181 */ 181 */
182int snd_dma_alloc_pages(int type, struct device *device, size_t size, 182int snd_dma_alloc_pages(int type, struct device *device, size_t size,
@@ -230,7 +230,7 @@ int snd_dma_alloc_pages(int type, struct device *device, size_t size,
230 * tries to allocate again. The size actually allocated is stored in 230 * tries to allocate again. The size actually allocated is stored in
231 * res_size argument. 231 * res_size argument.
232 * 232 *
233 * Returns zero if the buffer with the given size is allocated successfuly, 233 * Returns zero if the buffer with the given size is allocated successfully,
234 * other a negative value at error. 234 * other a negative value at error.
235 */ 235 */
236int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size, 236int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size,
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 77d7df22e7c8..d7d2179c0363 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -23,7 +23,7 @@
23#include <linux/file.h> 23#include <linux/file.h>
24#include <linux/slab.h> 24#include <linux/slab.h>
25#include <linux/time.h> 25#include <linux/time.h>
26#include <linux/pm_qos_params.h> 26#include <linux/pm_qos.h>
27#include <linux/uio.h> 27#include <linux/uio.h>
28#include <linux/dma-mapping.h> 28#include <linux/dma-mapping.h>
29#include <sound/core.h> 29#include <sound/core.h>
diff --git a/sound/firewire/cmp.c b/sound/firewire/cmp.c
index 14cacbc655dd..76294f2ae47f 100644
--- a/sound/firewire/cmp.c
+++ b/sound/firewire/cmp.c
@@ -32,7 +32,7 @@ enum bus_reset_handling {
32 SUCCEED_ON_BUS_RESET, 32 SUCCEED_ON_BUS_RESET,
33}; 33};
34 34
35static __attribute__((format(printf, 2, 3))) 35static __printf(2, 3)
36void cmp_error(struct cmp_connection *c, const char *fmt, ...) 36void cmp_error(struct cmp_connection *c, const char *fmt, ...)
37{ 37{
38 va_list va; 38 va_list va;
diff --git a/sound/mips/Kconfig b/sound/mips/Kconfig
index 77dd0a13aecc..d2f615ab177a 100644
--- a/sound/mips/Kconfig
+++ b/sound/mips/Kconfig
@@ -24,7 +24,7 @@ config SND_SGI_HAL2
24 24
25config SND_AU1X00 25config SND_AU1X00
26 tristate "Au1x00 AC97 Port Driver (DEPRECATED)" 26 tristate "Au1x00 AC97 Port Driver (DEPRECATED)"
27 depends on SOC_AU1000 || SOC_AU1100 || SOC_AU1500 27 depends on MIPS_ALCHEMY
28 select SND_PCM 28 select SND_PCM
29 select SND_AC97_CODEC 29 select SND_AC97_CODEC
30 help 30 help
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index 6c93e051f9ae..6c9e8e8f45f8 100644
--- a/sound/oss/Kconfig
+++ b/sound/oss/Kconfig
@@ -432,9 +432,7 @@ config SOUND_SB
432 ALS-007 and ALS-1X0 chips (read <file:Documentation/sound/oss/ALS>) and 432 ALS-007 and ALS-1X0 chips (read <file:Documentation/sound/oss/ALS>) and
433 for cards based on ESS chips (read 433 for cards based on ESS chips (read
434 <file:Documentation/sound/oss/ESS1868> and 434 <file:Documentation/sound/oss/ESS1868> and
435 <file:Documentation/sound/oss/ESS>). If you have an SB AWE 32 or SB AWE 435 <file:Documentation/sound/oss/ESS>). If you have an IBM Mwave
436 64, say Y here and also to "AWE32 synth" below and read
437 <file:Documentation/sound/oss/INSTALL.awe>. If you have an IBM Mwave
438 card, say Y here and read <file:Documentation/sound/oss/mwave>. 436 card, say Y here and read <file:Documentation/sound/oss/mwave>.
439 437
440 If you compile the driver into the kernel and don't want to use 438 If you compile the driver into the kernel and don't want to use
diff --git a/sound/soc/au1x/Kconfig b/sound/soc/au1x/Kconfig
index 6d592546e8fc..e908a8123110 100644
--- a/sound/soc/au1x/Kconfig
+++ b/sound/soc/au1x/Kconfig
@@ -3,7 +3,7 @@
3## 3##
4config SND_SOC_AU1XPSC 4config SND_SOC_AU1XPSC
5 tristate "SoC Audio for Au1200/Au1250/Au1550" 5 tristate "SoC Audio for Au1200/Au1250/Au1550"
6 depends on SOC_AU1200 || SOC_AU1550 6 depends on MIPS_ALCHEMY
7 help 7 help
8 This option enables support for the Programmable Serial 8 This option enables support for the Programmable Serial
9 Controllers in AC97 and I2S mode, and the Descriptor-Based DMA 9 Controllers in AC97 and I2S mode, and the Descriptor-Based DMA
diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig
index 6bbf001f6591..9e11a14d1b45 100644
--- a/sound/soc/davinci/Kconfig
+++ b/sound/soc/davinci/Kconfig
@@ -29,7 +29,6 @@ choice
29 prompt "DM365 codec select" 29 prompt "DM365 codec select"
30 depends on SND_DAVINCI_SOC_EVM 30 depends on SND_DAVINCI_SOC_EVM
31 depends on MACH_DAVINCI_DM365_EVM 31 depends on MACH_DAVINCI_DM365_EVM
32 default SND_DM365_EXTERNAL_CODEC
33 32
34config SND_DM365_AIC3X_CODEC 33config SND_DM365_AIC3X_CODEC
35 bool "Audio Codec - AIC3101" 34 bool "Audio Codec - AIC3101"
diff --git a/sound/usb/card.c b/sound/usb/card.c
index c1575eafff12..05c1aae0b010 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -631,7 +631,7 @@ static int usb_audio_suspend(struct usb_interface *intf, pm_message_t message)
631 if (chip == (void *)-1L) 631 if (chip == (void *)-1L)
632 return 0; 632 return 0;
633 633
634 if (!(message.event & PM_EVENT_AUTO)) { 634 if (!PMSG_IS_AUTO(message)) {
635 snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); 635 snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot);
636 if (!chip->num_suspended_intf++) { 636 if (!chip->num_suspended_intf++) {
637 list_for_each(p, &chip->pcm_list) { 637 list_for_each(p, &chip->pcm_list) {