aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-08 18:07:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-08 18:07:14 -0400
commitf5a246eab9a268f51ba8189ea5b098a1bfff200e (patch)
treea6ff7169e0bcaca498d9aec8b0624de1b74eaecb /sound/oss
parentd5bbd43d5f450c3fca058f5b85f3dfb4e8cc88c9 (diff)
parent7ff34ad80b7080fafaac8efa9ef0061708eddd51 (diff)
Merge tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai: "This contains pretty many small commits covering fairly large range of files in sound/ directory. Partly because of additional API support and partly because of constantly developed ASoC and ARM stuff. Some highlights: - Introduced the helper function and documentation for exposing the channel map via control API, as discussed in Plumbers; most of PCI drivers are covered, will follow more drivers later - Most of drivers have been replaced with the new PM callbacks (if the bus is supported) - HD-audio controller got the support of runtime PM and the support of D3 clock-stop. Also changing the power_save option in sysfs kicks off immediately to enable / disable the power-save mode. - Another significant code change in HD-audio is the rewrite of firmware loading code. Other than that, most of changes in HD-audio are continued cleanups and standardization for the generic auto parser and bug fixes (HBR, device-specific fixups), in addition to the support of channel-map API. - Addition of ASoC bindings for the compressed API, used by the mid-x86 drivers. - Lots of cleanups and API refreshes for ASoC codec drivers and DaVinci. - Conversion of OMAP to dmaengine. - New machine driver for Wolfson Microelectronics Bells. - New CODEC driver for Wolfson Microelectronics WM0010. - Enhancements to the ux500 and wm2000 drivers - A new driver for DA9055 and the support for regulator bypass mode." Fix up various arm soc header file reorg conflicts. * tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (339 commits) ALSA: hda - Add new codec ALC283 ALC290 support ALSA: hda - avoid unneccesary indices on "Headphone Jack" controls ALSA: hda - fix indices on boost volume on Conexant ALSA: aloop - add locking to timer access ALSA: hda - Fix hang caused by race during suspend. sound: Remove unnecessary semicolon ALSA: hda/realtek - Fix detection of ALC271X codec ALSA: hda - Add inverted internal mic quirk for Lenovo IdeaPad U310 ALSA: hda - make Realtek/Sigmatel/Conexant use the generic unsol event ALSA: hda - make a generic unsol event handler ASoC: codecs: Add DA9055 codec driver ASoC: eukrea-tlv320: Convert it to platform driver ALSA: ASoC: add DT bindings for CS4271 ASoC: wm_hubs: Ensure volume updates are handled during class W startup ASoC: wm5110: Adding missing volume update bits ASoC: wm5110: Add OUT3R support ASoC: wm5110: Add AEC loopback support ASoC: wm5110: Rename EPOUT to HPOUT3 ASoC: arizona: Add more clock rates ASoC: arizona: Add more DSP options for mixer input muxes ...
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/audio.c2
-rw-r--r--sound/oss/opl3.c2
-rw-r--r--sound/oss/pss.c2
-rw-r--r--sound/oss/sb_ess.c22
-rw-r--r--sound/oss/sb_mixer.c4
-rw-r--r--sound/oss/sys_timer.c4
-rw-r--r--sound/oss/uart6850.c2
7 files changed, 19 insertions, 19 deletions
diff --git a/sound/oss/audio.c b/sound/oss/audio.c
index 4b958b1c497c..09c932f899b8 100644
--- a/sound/oss/audio.c
+++ b/sound/oss/audio.c
@@ -354,7 +354,7 @@ int audio_read(int dev, struct file *file, char __user *buf, int count)
354 354
355 if(copy_to_user(&(buf)[p], fixit, l)) 355 if(copy_to_user(&(buf)[p], fixit, l))
356 return -EFAULT; 356 return -EFAULT;
357 }; 357 }
358 358
359 DMAbuf_rmchars(dev, buf_no, l); 359 DMAbuf_rmchars(dev, buf_no, l);
360 360
diff --git a/sound/oss/opl3.c b/sound/oss/opl3.c
index 407cd677950b..c5c24409ceb0 100644
--- a/sound/oss/opl3.c
+++ b/sound/oss/opl3.c
@@ -1190,7 +1190,7 @@ static int opl3_init(int ioaddr, struct module *owner)
1190 1190
1191 for (i = 0; i < 18; i++) 1191 for (i = 0; i < 18; i++)
1192 pv_map[i].ioaddr = devc->left_io; 1192 pv_map[i].ioaddr = devc->left_io;
1193 }; 1193 }
1194 conf_printf2(devc->fm_info.name, ioaddr, 0, -1, -1); 1194 conf_printf2(devc->fm_info.name, ioaddr, 0, -1, -1);
1195 1195
1196 for (i = 0; i < SBFM_MAXINSTR; i++) 1196 for (i = 0; i < SBFM_MAXINSTR; i++)
diff --git a/sound/oss/pss.c b/sound/oss/pss.c
index 0f32a561f15f..145e36b2cfd0 100644
--- a/sound/oss/pss.c
+++ b/sound/oss/pss.c
@@ -359,7 +359,7 @@ static int pss_download_boot(pss_confdata * devc, unsigned char *block, int size
359 { 359 {
360 /*_____ Send the next byte */ 360 /*_____ Send the next byte */
361 outw (*block++, REG (PSS_DATA)); 361 outw (*block++, REG (PSS_DATA));
362 }; 362 }
363 count++; 363 count++;
364 } 364 }
365 365
diff --git a/sound/oss/sb_ess.c b/sound/oss/sb_ess.c
index 5c773dff5ac5..c0be085e4a20 100644
--- a/sound/oss/sb_ess.c
+++ b/sound/oss/sb_ess.c
@@ -1104,15 +1104,15 @@ int ess_init(sb_devc * devc, struct address_info *hw_config)
1104 default: 1104 default:
1105 printk (KERN_ERR "Invalid esstype=%d specified\n", devc->sbmo.esstype); 1105 printk (KERN_ERR "Invalid esstype=%d specified\n", devc->sbmo.esstype);
1106 return 0; 1106 return 0;
1107 }; 1107 }
1108 if (submodel != -1) { 1108 if (submodel != -1) {
1109 devc->submodel = submodel; 1109 devc->submodel = submodel;
1110 sprintf (modelname, "ES%d", devc->sbmo.esstype); 1110 sprintf (modelname, "ES%d", devc->sbmo.esstype);
1111 chip = modelname; 1111 chip = modelname;
1112 }; 1112 }
1113 if (chip == NULL && (ess_minor & 0x0f) < 8) { 1113 if (chip == NULL && (ess_minor & 0x0f) < 8) {
1114 chip = "ES688"; 1114 chip = "ES688";
1115 }; 1115 }
1116#ifdef FKS_TEST 1116#ifdef FKS_TEST
1117FKS_test (devc); 1117FKS_test (devc);
1118#endif 1118#endif
@@ -1122,7 +1122,7 @@ FKS_test (devc);
1122 */ 1122 */
1123 if (chip == NULL && devc->sbmo.esstype == ESSTYPE_LIKE20) { 1123 if (chip == NULL && devc->sbmo.esstype == ESSTYPE_LIKE20) {
1124 chip = "ES1688"; 1124 chip = "ES1688";
1125 }; 1125 }
1126 1126
1127 if (chip == NULL) { 1127 if (chip == NULL) {
1128 int type; 1128 int type;
@@ -1150,8 +1150,8 @@ FKS_test (devc);
1150 if ((type & 0x00ff) != ((type >> 8) & 0x00ff)) { 1150 if ((type & 0x00ff) != ((type >> 8) & 0x00ff)) {
1151 printk ("ess_init: Unrecognized %04x\n", type); 1151 printk ("ess_init: Unrecognized %04x\n", type);
1152 } 1152 }
1153 }; 1153 }
1154 }; 1154 }
1155#if 0 1155#if 0
1156 /* 1156 /*
1157 * this one failed: 1157 * this one failed:
@@ -1182,10 +1182,10 @@ FKS_test (devc);
1182 chip = "ES1788"; 1182 chip = "ES1788";
1183 devc->submodel = SUBMDL_ES1788; 1183 devc->submodel = SUBMDL_ES1788;
1184 } 1184 }
1185 }; 1185 }
1186 if (chip == NULL) { 1186 if (chip == NULL) {
1187 chip = "ES1688"; 1187 chip = "ES1688";
1188 }; 1188 }
1189 1189
1190 printk ( KERN_INFO "ESS chip %s %s%s\n" 1190 printk ( KERN_INFO "ESS chip %s %s%s\n"
1191 , chip 1191 , chip
@@ -1293,7 +1293,7 @@ printk(KERN_INFO "ess_set_dma_hw: dma8=%d,dma16=%d,dup=%d\n"
1293 default: 1293 default:
1294 printk(KERN_ERR "ESS1887: Invalid DMA16 %d\n", dma); 1294 printk(KERN_ERR "ESS1887: Invalid DMA16 %d\n", dma);
1295 return 0; 1295 return 0;
1296 }; 1296 }
1297 ess_chgmixer (devc, 0x78, 0x20, dma16_bits); 1297 ess_chgmixer (devc, 0x78, 0x20, dma16_bits);
1298 ess_chgmixer (devc, 0x7d, 0x07, dma_bits); 1298 ess_chgmixer (devc, 0x7d, 0x07, dma_bits);
1299 } 1299 }
@@ -1584,7 +1584,7 @@ printk(KERN_INFO "FKS: write mixer %x: %x\n", port, value);
1584 udelay(20); 1584 udelay(20);
1585 outb(((unsigned char) (value & 0xff)), MIXER_DATA); 1585 outb(((unsigned char) (value & 0xff)), MIXER_DATA);
1586 udelay(20); 1586 udelay(20);
1587 }; 1587 }
1588 spin_unlock_irqrestore(&devc->lock, flags); 1588 spin_unlock_irqrestore(&devc->lock, flags);
1589} 1589}
1590 1590
@@ -1761,7 +1761,7 @@ int ess_mixer_reset (sb_devc * devc)
1761 ess_chgmixer(devc, 0x7a, 0x18, 0x08); 1761 ess_chgmixer(devc, 0x7a, 0x18, 0x08);
1762 ess_chgmixer(devc, 0x1c, 0x07, 0x07); 1762 ess_chgmixer(devc, 0x1c, 0x07, 0x07);
1763 break; 1763 break;
1764 }; 1764 }
1765 /* 1765 /*
1766 * Call set_recmask for proper initialization 1766 * Call set_recmask for proper initialization
1767 */ 1767 */
diff --git a/sound/oss/sb_mixer.c b/sound/oss/sb_mixer.c
index f8f3b7a66b73..acf7586aeb47 100644
--- a/sound/oss/sb_mixer.c
+++ b/sound/oss/sb_mixer.c
@@ -410,7 +410,7 @@ static int set_recmask(sb_devc * devc, int mask)
410 case MDL_SMW: 410 case MDL_SMW:
411 if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) { 411 if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) {
412 break; 412 break;
413 }; 413 }
414 if (devmask != SOUND_MASK_MIC && 414 if (devmask != SOUND_MASK_MIC &&
415 devmask != SOUND_MASK_LINE && 415 devmask != SOUND_MASK_LINE &&
416 devmask != SOUND_MASK_CD) 416 devmask != SOUND_MASK_CD)
@@ -666,7 +666,7 @@ static void sb_mixer_reset(sb_devc * devc)
666 666
667 if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) { 667 if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) {
668 set_recmask(devc, SOUND_MASK_MIC); 668 set_recmask(devc, SOUND_MASK_MIC);
669 }; 669 }
670} 670}
671 671
672int sb_mixer_init(sb_devc * devc, struct module *owner) 672int sb_mixer_init(sb_devc * devc, struct module *owner)
diff --git a/sound/oss/sys_timer.c b/sound/oss/sys_timer.c
index 8db6aefe15e4..9f039831114c 100644
--- a/sound/oss/sys_timer.c
+++ b/sound/oss/sys_timer.c
@@ -57,7 +57,7 @@ poll_def_tmr(unsigned long dummy)
57 { 57 {
58 def_tmr.expires = (1) + jiffies; 58 def_tmr.expires = (1) + jiffies;
59 add_timer(&def_tmr); 59 add_timer(&def_tmr);
60 }; 60 }
61 61
62 if (tmr_running) 62 if (tmr_running)
63 { 63 {
@@ -103,7 +103,7 @@ def_tmr_open(int dev, int mode)
103 { 103 {
104 def_tmr.expires = (1) + jiffies; 104 def_tmr.expires = (1) + jiffies;
105 add_timer(&def_tmr); 105 add_timer(&def_tmr);
106 }; 106 }
107 107
108 return 0; 108 return 0;
109} 109}
diff --git a/sound/oss/uart6850.c b/sound/oss/uart6850.c
index f3f914aa92ee..1079133dd6ab 100644
--- a/sound/oss/uart6850.c
+++ b/sound/oss/uart6850.c
@@ -146,7 +146,7 @@ static int uart6850_open(int dev, int mode,
146 { 146 {
147/* printk("Midi6850: Midi busy\n");*/ 147/* printk("Midi6850: Midi busy\n");*/
148 return -EBUSY; 148 return -EBUSY;
149 }; 149 }
150 150
151 uart6850_cmd(UART_RESET); 151 uart6850_cmd(UART_RESET);
152 uart6850_input_loop(); 152 uart6850_input_loop();