summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] sound: pcxhr_core.c fix shadowed variable warningHarvey Harrison2008-04-241-12/+19
| | | | | | | | | | Inner loop redeclares err with u32 rather than int, stupid fix here is to change the inner err to err2. sound/pci/pcxhr/pcxhr_core.c:1008:8: warning: symbol 'err' shadows an earlier one sound/pci/pcxhr/pcxhr_core.c:983:6: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: virtuoso.c fix shadowed variable warningHarvey Harrison2008-04-241-3/+3
| | | | | | | | | Use priv_idx as an identifier. sound/pci/oxygen/virtuoso.c:277:15: warning: symbol 'index' shadows an earlier one sound/pci/oxygen/virtuoso.c:56:12: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ice1712.c fix shadowed variable warningsHarvey Harrison2008-04-241-16/+24
| | | | | | | | | | | | | | | | | | In all four case, adding a private value to the iooff index, call it priv_idx. sound/pci/ice1712/ice1712.c:1300:6: warning: symbol 'index' shadows an earlier one sound/pci/ice1712/ice1712.c:85:12: originally declared here sound/pci/ice1712/ice1712.c:1312:6: warning: symbol 'index' shadows an earlier one sound/pci/ice1712/ice1712.c:85:12: originally declared here sound/pci/ice1712/ice1712.c:1338:6: warning: symbol 'index' shadows an earlier one sound/pci/ice1712/ice1712.c:85:12: originally declared here sound/pci/ice1712/ice1712.c:1350:6: warning: symbol 'index' shadows an earlier one sound/pci/ice1712/ice1712.c:85:12: originally declared here [tiwai - fixed coding issues as well] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: emu10k1x.c fix shadowed variable warningsHarvey Harrison2008-04-241-11/+11
| | | | | | | | | | | | | | | | | enable in these contexts refers specifically to intr enable, as per the two functions it is found in. Use intr_enable instead. sound/pci/emu10k1/emu10k1x.c:330:15: warning: symbol 'enable' shadows an earlier one sound/pci/emu10k1/emu10k1x.c:53:12: originally declared here sound/pci/emu10k1/emu10k1x.c:341:15: warning: symbol 'enable' shadows an earlier one sound/pci/emu10k1/emu10k1x.c:53:12: originally declared here instead of shadowing, use cap_voice as we test for the capture voice in this statement. sound/pci/emu10k1/emu10k1x.c:798:25: warning: symbol 'pvoice' shadows an earlier one sound/pci/emu10k1/emu10k1x.c:787:24: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: emuproc.c fix signedness warningHarvey Harrison2008-04-241-1/+1
| | | | | | | | | | | Reading regs from the fpga into an int instead of a u32, trivial fix. sound/pci/emu10k1/emuproc.c:422:34: warning: incorrect type in argument 3 (different signedness) sound/pci/emu10k1/emuproc.c:422:34: expected unsigned int [usertype] *value sound/pci/emu10k1/emuproc.c:422:34: got int *<noident> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: au88x0_pcm.c fix integer as NULL pointer warningHarvey Harrison2008-04-241-5/+5
| | | | | | | | | sound/pci/au88x0/au88x0_pcm.c:508:15: warning: Using plain integer as NULL pointer Also some small codingstyle fixes. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] snd-dummy - better realtime app supportAhmet İnan2008-04-241-3/+3
| | | | | | | | | | | when the time interval for a period is smaller than kernel HZ, then snd-aloop and snd-dummy cannot call snd_pcm_period_elapsed as fast enough annymore. this happens for example with games. but the app still needs to see, that the buffer actually did go further, which is provided by these patches. Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ca0106_mixer.c fix shadowed variable warningsHarvey Harrison2008-04-241-4/+4
| | | | | | | | | | | | | | | Change the variable err to _err within the ADD_CTLS macro to avoid shadowing the local variable. sound/pci/ca0106/ca0106_mixer.c:710:2: warning: symbol 'err' shadows an earlier one sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here sound/pci/ca0106/ca0106_mixer.c:712:3: warning: symbol 'err' shadows an earlier one sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here sound/pci/ca0106/ca0106_mixer.c:721:3: warning: symbol 'err' shadows an earlier one sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ca0106_main.c fix shadowed variable warningsHarvey Harrison2008-04-241-8/+8
| | | | | | | | | | | change to intr_enable as per the two functions it is defined in. sound/pci/ca0106/ca0106_main.c:438:15: warning: symbol 'enable' shadows an earlier one sound/pci/ca0106/ca0106_main.c:159:12: originally declared here sound/pci/ca0106/ca0106_main.c:449:15: warning: symbol 'enable' shadows an earlier one sound/pci/ca0106/ca0106_main.c:159:12: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ali5451.c fix shadowed variable warningsHarvey Harrison2008-04-241-14/+14
| | | | | | | | | | | | | enable is used to test for whether or not spdif should be enabled, change to spdif_enable. sound/pci/ali5451/ali5451.c:1812:15: warning: symbol 'enable' shadows an earlier one sound/pci/ali5451/ali5451.c:63:12: originally declared here sound/pci/ali5451/ali5451.c:1840:27: warning: symbol 'enable' shadows an earlier one sound/pci/ali5451/ali5451.c:63:12: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ac97_pcm.c fix shadowed variable warningHarvey Harrison2008-04-241-1/+0
| | | | | | | | | | err is always assigned before it is used, no need to declare another inside the if statement. sound/pci/ac97/ac97_pcm.c:577:7: warning: symbol 'err' shadows an earlier one sound/pci/ac97/ac97_pcm.c:572:6: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: rme96.c fix integer as NULL pointer warningHarvey Harrison2008-04-241-1/+2
| | | | | | | | kernel style does assignment outside of if() block sound/pci/rme96.c:1562:71: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: rme32.c fix integer as NULL pointer warningHarvey Harrison2008-04-241-1/+2
| | | | | | | | kernel style does assignment outside of if() statements. sound/pci/rme32.c:1353:71: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: maestro3.c fix shadowed variable warningsHarvey Harrison2008-04-241-17/+17
| | | | | | | | | | | | | | | | | | change id to elem_id as it is used to initialize each mixer element sound/pci/maestro3.c:2071:25: warning: symbol 'id' shadows an earlier one sound/pci/maestro3.c:67:13: originally declared here index is used in each of these places to count over the dsp's memory, change to the name dsp_index sound/pci/maestro3.c:2572:9: warning: symbol 'index' shadows an earlier one sound/pci/maestro3.c:66:12: originally declared here sound/pci/maestro3.c:2604:9: warning: symbol 'index' shadows an earlier one sound/pci/maestro3.c:66:12: originally declared here [tiwai - fixed coding style issues as well] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: fm801.c fix shadowed variable warningHarvey Harrison2008-04-241-4/+4
| | | | | | | | | | | | id was only used as a counter in a for loop, move the declaration to where it is used and change it to i. sound/pci/fm801.c:1288:6: warning: symbol 'id' shadows an earlier one sound/pci/fm801.c:51:13: originally declared here [tiwai - fixed a coding style issue as well] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: es1968.c fox shadowed variable warningHarvey Harrison2008-04-241-9/+9
| | | | | | | | | | id is used when initializing the mixer elements, use elem_id here instead. sound/pci/es1968.c:1963:25: warning: symbol 'id' shadows an earlier one sound/pci/es1968.c:129:13: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: ens1370.c fix shadowed variable warningHarvey Harrison2008-04-241-3/+3
| | | | | | | | | | | index is incremented only when AC97_EI_SPDIF and then assigned to the index field. Change the temporary name to is_spdif. sound/pci/ens1370.c:1638:10: warning: symbol 'index' shadows an earlier one sound/pci/ens1370.c:84:12: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound: cmipci.c fix shadowed variable warningHarvey Harrison2008-04-241-5/+6
| | | | | | | | | | | | | A temporary variable for each mixer element is used in an initialization loop, use the name elem_id. sound/pci/cmipci.c:2747:26: warning: symbol 'id' shadows an earlier one sound/pci/cmipci.c:56:13: originally declared here [tiwai - fixed a coding style issue as well] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] soc - Report errors from snd_soc_dapm_set_endpoint()Mark Brown2008-04-241-1/+2
| | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add docking-station mic input for Thinkpad X61Takashi Iwai2008-04-241-1/+2
| | | | | | | Added the docking-stationc mic input to the capture source list for Thinkpad X61. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix initial DAC numbers of 92HD71bxx codecsTakashi Iwai2008-04-241-2/+2
| | | | | | Fix the initial num_dacs of 92HD71bxx codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: sort quirks listClemens Ladisch2008-04-241-37/+38
| | | | | | | Move some entries to their proper position so that the list is again sorted by vendor/product ID. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] mpu401: reduce tx loop timeoutClemens Ladisch2008-04-241-6/+7
| | | | | | | | Reduce the number of times to check for a non-empty Tx FIFO from 100 to 2 because there is no MPU-401 implementation that needs more than one or two reads to determine the actual FIFO status. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hdsp - RME 9632 fix at 192kHzRemy Bruno2008-04-241-18/+36
| | | | | | | | | | | | The bits indicating SPDIF frequency in the status register are not the same for the 9632 than for the other cards, because it also supports 192kHz. A specific bitmask has thus been added (used in hdsp_spdif_sample_rate()). The 9632 does not seem to report external sample rates greater than 96kHz. In this case, the best seems to report spdif rate when autosync reference is spdif. This also required to move function hdsp_spdif_sample_rate(). Signed-off-by: Remy Bruno <remy.bruno@trinnov.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: Mic as output fixMatthew Ranostay2008-04-241-25/+33
| | | | | | | | Added logic to check if AUTO_PIN_FRONT_MIC is available for output switch, if AUTO_PIN_MIC isn't. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add missing descriptions for STAC codec modelsTakashi Iwai2008-04-241-0/+10
| | | | | | Added the missing descriptions for STAC codec models. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] seq-oss - Remove invalid BUG()Takashi Iwai2008-04-241-2/+7
| | | | | | | Removed invalid BUG() - the driver should handle the error case properly rather than issuing BUG(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Use PCI_DEVICE() macroTakashi Iwai2008-04-241-45/+53
| | | | | | Clean up the pci id table using PCI_DEVICE() macro. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] snd-dummy - improved timing, silence on prepareAhmet İnan2008-04-241-11/+15
| | | | | Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: STAC927x analog micMatthew Ranostay2008-04-241-0/+2
| | | | | | | Some laptops have a internal analog microphone that is not setup by the BIOS. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: 92HDxxxx PCI QuirksMatthew Ranostay2008-04-241-6/+97
| | | | | | | Added PCI_QUIRKS for laptop that have the 92HDxxx family of codecs. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: STAC927x invalid association valueMatthew Ranostay2008-04-241-1/+1
| | | | | | | | STAC_DELL_BIOS quirks were setting the association value wrong for port 0x0f, which prevented it from being included in hp_outs[]. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: fix STAC927x power managementMatthew Ranostay2008-04-241-1/+2
| | | | | | | | Fix issue on STAC927x codecs that first DAC was getting powered down even if was being used. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ASoC: Add support for 12 MHz MCLK in TLV320AIC3XJarkko Nikula2008-04-241-0/+11
| | | | | Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add description of aw2 driverTakashi Iwai2008-04-241-0/+7
| | | | | | Added a brief description of aw2 driver to ALSA-Configuration.txt. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] aw2 - Add missing module parametersTakashi Iwai2008-04-241-0/+7
| | | | | | Added the missing declarations for module parameters. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Emagic Audiowerk 2 ALSA driver.Cedric Bregardis2008-04-248-0/+1659
| | | | | | Signed-off-by: Cedric Bregardis <cedric.bregardis@free.fr> Signed-off-by: Jean-Christian Hassler <jhassler@free.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Don't create multiple capture streams for single inputsTakashi Iwai2008-04-241-2/+2
| | | | | | | When the device has only one input source, it makes no sense to have multiple capture streams. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix ALC268 capture sourceTakashi Iwai2008-04-241-0/+6
| | | | | | | Initialize the capture source properly for auto model. It's especially important for cases that only mic is detected. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add beep volume control to ALC268Takashi Iwai2008-04-241-8/+45
| | | | | | | | Added the beep volume control to ALC268 codec support code. Since the codec doesn't return the correct AMP caps, we need to override the value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix ALC662 recordingKailang Yang2008-04-241-1/+1
| | | | | | | Fixed ALC662 recording issue. Signed-off-by: Kailang Yang <kailang@realtek.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Clean up stream definitionsTakashi Iwai2008-04-241-21/+8
| | | | | | Clean up the code to define playback/capture streams. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ca0106 - Add master volume controlsTakashi Iwai2008-04-242-0/+52
| | | | | | Added master volume and switch controls for ca0106 using vmaster. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Keep private TLV entry in vmaster itselfTakashi Iwai2008-04-245-15/+16
| | | | | | | | | | Use a private array for TLV entries of virtual master controls instead of (supposed) static array. This cleans up the existing codes. Also, now vmaster assumes the simple dB-range TLV that is the only type it can handle. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Move vmaster code to sound coreTakashi Iwai2008-04-246-7/+17
| | | | | | | Move the codes for virtual master controls to sound core part so that not only hda-intel drivers can use it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Add support of 8 channel soundTakashi Iwai2008-04-243-16/+59
| | | | | | | | | | | Added the support of 8 channel sound for codecs that are known to work. So far, only ALC850 is marked as a 8ch-support codec. This fix is a modified version of the patch on ALSA BTS#2097 by Martin Ellis: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2097 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add __devinit macro to at73c213 sound driver probe functionsHans-Christian Egtvedt2008-04-241-3/+3
| | | | | | | | This patch adds __devinit to the functions used when probing. Will also reduce the memory footprint a bit if CONFIG_HOTPLUG is not enabled. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Davinci ASoC supportVladimir Barinov2008-04-249-1/+1082
| | | | | | | | | | | Add ASoC support for the TI Davinci SoC and the Davicni-EVM reference board. It includes: - ASoC Davinci DMA driver - ASoC Davinci I2S (Davinci McBSP module based) driver - ASoC Davinci-EVM reference board Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add model=mobile for AD1884A & coTakashi Iwai2008-04-242-1/+48
| | | | | | | Added the new model mobile for AD1884A and compatible codecs. It's a reduced version of model=laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support of AD1883/1884A/1984A/1984BTakashi Iwai2008-04-242-0/+331
| | | | | | | Added the support of new AD codecs: AD1883, AD1884A, AD1984A and AD1984B. These are almost compatible except for additional digital pins, etc. Signed-off-by: Takashi Iwai <tiwai@suse.de>