Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257610
b: refs/heads/master
c: 3733e42
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jun 10, 2011
1 parent 8561c41 commit ab14e91
Show file tree
Hide file tree
Showing 80 changed files with 299 additions and 607 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b028b81835d7503d68b230446cd5e39d14ff5b9f
refs/heads/master: 3733e424c4fcd8edff2090f0628f4fd245daddb5
1 change: 0 additions & 1 deletion trunk/include/linux/pci_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,6 @@
#define PCI_SUBDEVICE_ID_CREATIVE_SB08801 0x0041
#define PCI_SUBDEVICE_ID_CREATIVE_SB08802 0x0042
#define PCI_SUBDEVICE_ID_CREATIVE_SB08803 0x0043
#define PCI_SUBDEVICE_ID_CREATIVE_SB1270 0x0062
#define PCI_SUBDEVICE_ID_CREATIVE_HENDRIX 0x6000

#define PCI_VENDOR_ID_ECTIVA 0x1102 /* duplicate: CREATIVE */
Expand Down
40 changes: 23 additions & 17 deletions trunk/sound/core/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,36 +58,42 @@ static const char *sanity_file_name(const char *path)
else
return path;
}

/* print file and line with a certain printk prefix */
static int print_snd_pfx(unsigned int level, const char *path, int line,
const char *format)
{
const char *file = sanity_file_name(path);
char tmp[] = "<0>";
const char *pfx = level ? KERN_DEBUG : KERN_DEFAULT;
int ret = 0;

if (format[0] == '<' && format[2] == '>') {
tmp[1] = format[1];
pfx = tmp;
ret = 1;
}
printk("%sALSA %s:%d: ", pfx, file, line);
return ret;
}
#else
#define print_snd_pfx(level, path, line, format) 0
#endif

#if defined(CONFIG_SND_DEBUG) || defined(CONFIG_SND_VERBOSE_PRINTK)
void __snd_printk(unsigned int level, const char *path, int line,
const char *format, ...)
{
va_list args;
#ifdef CONFIG_SND_VERBOSE_PRINTK
struct va_format vaf;
char verbose_fmt[] = KERN_DEFAULT "ALSA %s:%d %pV";
#endif


#ifdef CONFIG_SND_DEBUG
if (debug < level)
return;
#endif

va_start(args, format);
#ifdef CONFIG_SND_VERBOSE_PRINTK
vaf.fmt = format;
vaf.va = &args;
if (format[0] == '<' && format[2] == '>') {
memcpy(verbose_fmt, format, 3);
vaf.fmt = format + 3;
} else if (level)
memcpy(verbose_fmt, KERN_DEBUG, 3);
printk(verbose_fmt, sanity_file_name(path), line, &vaf);
#else
if (print_snd_pfx(level, path, line, format))
format += 3; /* skip the printk level-prefix */
vprintk(format, args);
#endif
va_end(args);
}
EXPORT_SYMBOL_GPL(__snd_printk);
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ad1889.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_ad1889_ids) = {
MODULE_DEVICE_TABLE(pci, snd_ad1889_ids);

static struct pci_driver ad1889_pci_driver = {
.name = "AD1889 Audio",
.name = KBUILD_MODNAME,
.id_table = snd_ad1889_ids,
.probe = snd_ad1889_probe,
.remove = __devexit_p(snd_ad1889_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ali5451/ali5451.c
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ static void __devexit snd_ali_remove(struct pci_dev *pci)
}

static struct pci_driver driver = {
.name = "ALI 5451",
.name = KBUILD_MODNAME,
.id_table = snd_ali_ids,
.probe = snd_ali_probe,
.remove = __devexit_p(snd_ali_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/als300.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ static int __devinit snd_als300_probe(struct pci_dev *pci,
}

static struct pci_driver driver = {
.name = "ALS300",
.name = KBUILD_MODNAME,
.id_table = snd_als300_ids,
.probe = snd_als300_probe,
.remove = __devexit_p(snd_als300_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/als4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ static int snd_als4000_resume(struct pci_dev *pci)


static struct pci_driver driver = {
.name = "ALS4000",
.name = KBUILD_MODNAME,
.id_table = snd_als4000_ids,
.probe = snd_card_als4000_probe,
.remove = __devexit_p(snd_card_als4000_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/asihpi/asihpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ static DEFINE_PCI_DEVICE_TABLE(asihpi_pci_tbl) = {
MODULE_DEVICE_TABLE(pci, asihpi_pci_tbl);

static struct pci_driver driver = {
.name = "asihpi",
.name = KBUILD_MODNAME,
.id_table = asihpi_pci_tbl,
.probe = snd_asihpi_probe,
.remove = __devexit_p(snd_asihpi_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/atiixp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
}

static struct pci_driver driver = {
.name = "ATI IXP AC97 controller",
.name = KBUILD_MODNAME,
.id_table = snd_atiixp_ids,
.probe = snd_atiixp_probe,
.remove = __devexit_p(snd_atiixp_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/atiixp_modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
}

static struct pci_driver driver = {
.name = "ATI IXP MC97 controller",
.name = KBUILD_MODNAME,
.id_table = snd_atiixp_ids,
.probe = snd_atiixp_probe,
.remove = __devexit_p(snd_atiixp_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/au88x0/au88x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static void __devexit snd_vortex_remove(struct pci_dev *pci)

// pci_driver definition
static struct pci_driver driver = {
.name = CARD_NAME_SHORT,
.name = KBUILD_MODNAME,
.id_table = snd_vortex_ids,
.probe = snd_vortex_probe,
.remove = __devexit_p(snd_vortex_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/aw2/aw2-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ MODULE_DEVICE_TABLE(pci, snd_aw2_ids);

/* pci_driver definition */
static struct pci_driver driver = {
.name = "Emagic Audiowerk 2",
.name = KBUILD_MODNAME,
.id_table = snd_aw2_ids,
.probe = snd_aw2_probe,
.remove = __devexit_p(snd_aw2_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/azt3328.c
Original file line number Diff line number Diff line change
Expand Up @@ -2860,7 +2860,7 @@ snd_azf3328_resume(struct pci_dev *pci)


static struct pci_driver driver = {
.name = "AZF3328",
.name = KBUILD_MODNAME,
.id_table = snd_azf3328_ids,
.probe = snd_azf3328_probe,
.remove = __devexit_p(snd_azf3328_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/bt87x.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_bt87x_default_ids) = {
};

static struct pci_driver driver = {
.name = "Bt87x",
.name = KBUILD_MODNAME,
.id_table = snd_bt87x_ids,
.probe = snd_bt87x_probe,
.remove = __devexit_p(snd_bt87x_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ca0106/ca0106_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ MODULE_DEVICE_TABLE(pci, snd_ca0106_ids);

// pci_driver definition
static struct pci_driver driver = {
.name = "CA0106",
.name = KBUILD_MODNAME,
.id_table = snd_ca0106_ids,
.probe = snd_ca0106_probe,
.remove = __devexit_p(snd_ca0106_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/cmipci.c
Original file line number Diff line number Diff line change
Expand Up @@ -3398,7 +3398,7 @@ static int snd_cmipci_resume(struct pci_dev *pci)
#endif /* CONFIG_PM */

static struct pci_driver driver = {
.name = "C-Media PCI",
.name = KBUILD_MODNAME,
.id_table = snd_cmipci_ids,
.probe = snd_cmipci_probe,
.remove = __devexit_p(snd_cmipci_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/cs4281.c
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ static int cs4281_resume(struct pci_dev *pci)
#endif /* CONFIG_PM */

static struct pci_driver driver = {
.name = "CS4281",
.name = KBUILD_MODNAME,
.id_table = snd_cs4281_ids,
.probe = snd_cs4281_probe,
.remove = __devexit_p(snd_cs4281_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/cs46xx/cs46xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static void __devexit snd_card_cs46xx_remove(struct pci_dev *pci)
}

static struct pci_driver driver = {
.name = "Sound Fusion CS46xx",
.name = KBUILD_MODNAME,
.id_table = snd_cs46xx_ids,
.probe = snd_card_cs46xx_probe,
.remove = __devexit_p(snd_card_cs46xx_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/cs5530.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ static int __devinit snd_cs5530_probe(struct pci_dev *pci,
}

static struct pci_driver driver = {
.name = "CS5530_Audio",
.name = KBUILD_MODNAME,
.id_table = snd_cs5530_ids,
.probe = snd_cs5530_probe,
.remove = __devexit_p(snd_cs5530_remove),
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/cs5535audio/cs5535audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ static void __devexit snd_cs5535audio_remove(struct pci_dev *pci)
}

static struct pci_driver driver = {
.name = DRIVER_NAME,
.name = KBUILD_MODNAME,
.id_table = snd_cs5535audio_ids,
.probe = snd_cs5535audio_probe,
.remove = __devexit_p(snd_cs5535audio_remove),
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/pci/ctxfi/ct20k2reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
/* GPIO Registers */
#define GPIO_DATA 0x1B7020
#define GPIO_CTRL 0x1B7024
#define GPIO_EXT_DATA 0x1B70A0

/* Virtual memory registers */
#define VMEM_PTPAL 0x1C6300 /* 0x1C6300 + (16 * Chn) */
Expand Down
Loading

0 comments on commit ab14e91

Please sign in to comment.