summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'topic/fix/misc' into topic/miscTakashi Iwai2008-11-0722-61/+99
|\
| * ALSA: emu10k1 - Add more invert_shared_spdif flag to Audigy modelsTakashi Iwai2008-11-031-0/+3
| | | | | | | | | | | | | | Reported in Novell bnc#440862: https://bugzilla.novell.com/show_bug.cgi?id=440862 Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: remove direct access of dev->bus_id in sound/isa/*Takashi Iwai2008-11-038-45/+34
| | | | | | | | | | | | | | Removed the direct accesses of dev->bus_id in sound/isa/* by replacement with dev_err() or dev_warn() functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * sound: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers2008-11-033-5/+5
| | | | | | | | | | | | | | [stripped sound/isa/* changes, replaced with the next patch -- tiwai] Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: Fix PIT lockup on some chipsets when using the PC-SpeakerZoltan Devai2008-11-031-2/+2
| | | | | | | | | | | | | | Fix PIT lockup on some chipsets when using the PC-Speaker. Signed-off-by: Zoltan Devai <zdevai@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: rawmidi - Add open check in rawmidi callbacksTakashi Iwai2008-11-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | The drivers (e.g. mtpav) may call rawmidi functions in irq handlers even though the streams are not opened. This results in Oops or panic. This patch adds the rawmidi state check before actually operating the rawmidi buffers. Tested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: sound/ice1712: indentation & braces disagree - add bracesIlpo Järvinen2008-10-301-2/+4
| | | | | | | | | | | | | | | | | | Neither has any significance currently to the flow because err is checked for the same condition before the place of disagreement. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: usb - Add quirk for Edirol UA-25EX advanced modesTakashi Iwai2008-10-301-0/+30
| | | | | | | | | | | | | | | | Added the quirk for UA-25EX advanced modes. UA-25EX is almost compatible with UA-25. Tested-by: Serge Perinsky <sergebass@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * sound: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers2008-10-301-3/+3
| | | | | | | | | | | | Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-By: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: Warn when control names are truncatedMark Brown2008-10-291-1/+6
| | | | | | | | | | | | | | | | This is likely to confuse user interfaces since the end of the control name is interpreted (eg, "Volume", "Switch"). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: intel8x0 - add Dell Optiplex GX620 (AD1981B) to AC97 clock whitelistBastien Nocera2008-10-291-0/+1
| | | | | | | | | | | | | | | | | | alsa-info.sh output at: https://bugzilla.redhat.com/show_bug.cgi?id=441087#c49 Signed-off-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * sound: use a common working email addressAlan Cox2008-10-273-3/+3
| | | | | | | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ice1724 - Re-fix IRQ mask initializationTakashi Iwai2008-11-051-4/+4
| | | | | | | | | | | | | | The previous IRQ mask initialization was wrong. It must set the bits to be masked. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ice1724 - Fix IRQ register initializationTakashi Iwai2008-11-011-6/+3
| | | | | | | | | | | | | | | | | | The IRQMASK register has to be set to zero expclitily at the initialization otherwise you'll get no interrupts properly at later operations. Also, removed the old commented out codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'topic/misc-next' into topic/miscTakashi Iwai2008-10-2711-321/+405
|\ \ | |/ |/|
| * ALSA: emu10k1: fix coding style for emu10k1_main.cVedran Miletic2008-10-231-165/+182
| | | | | | | | | | | | | | | | | | I fixed all of coding style errors and some warnings, now it is down to: checkpatch.pl-0.24 --no-tree --file --strict --terse emu10k1_main.c total: 0 errors, 62 warnings, 7 checks, 2075 lines checked Signed-off-by: Vedran Miletic <rivanvx@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: emu10k1: fix faulty commit 18c71092Vedran Miletic2008-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | Commit 18c7109289625106cdc810b20b628cd13b46d6dd had #endif leftoff from compilation. This patch fixes it. Also, I replaced a misplaced comment by a useful one, that explains why are here #ifdef and #endif added in compilation. Signed-off-by: Vedran Miletic <rivanvx@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: emu10k1: fix device names for Live!/Audigy1/2/4/E-muVedran Miletic2008-10-211-70/+76
| | | | | | | | | | | | | | | | | | | | | | * added missing SBxxxx, CTxxxx, PCxxx and MAEMxxxx where they were missing, and fixed some of them which were wrong (according to kx.inf, which is pretty accurate compared to anything out there) * fixed device names to make them more consistent across various cards * fixed order of devices where appropriate Signed-off-by: Vedran Miletic <rivanvx@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: ice1724 - Fix TX IRQ lockupTakashi Iwai2008-10-201-8/+12
| | | | | | | | | | | | | | MPU TX causes IRQ floods on VT172x devices mysteriously. Disable TX IRQ if the IRQ flood is detected. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: Enable SPDIF output on ALC655Takashi Iwai2008-10-201-0/+2
| | | | | | | | | | | | | | Some hardwares with ALC655 codec don't indicate the proper ext id bit for SPDIF output although it supports. Force to enable the bit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: pcsp - Fix locking messes in snd-pcspTakashi Iwai2008-10-203-48/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | snd-pcsp driver takes chip->substream_lock together with PCM substream lock. These are even mixed up with hrtimer's lock, resulting in messy lock depencies. Right now, snd-pcsp driver resolves the deadlock by using HRTIMER_CB_SOFTIRQ. However, this isn't nice for a really fast path like bit-flipping. This patch introduces a tasklet for PCM period handling so that the hrtimer callback can be handled fast. This also reduce the use of chip->substream_lock to avoid deadlocks. It's still used in pointer callback, but even this could be removed with a proper barrier. Another good solution is to introduce async trigger callback. But, this will involve with a major rewrite of the PCM core code, so I take first this easy fix. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: Print function symbol in the error messagesTakashi Iwai2008-10-161-2/+2
| | | | | | | | | | | | | | Use the new %pF for error messages in snd_device_*() functions to give more understandable results. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| *-. Merge branches 'topic/misc-fixes', 'topic/hda' and 'topic/asoc' into for-linusTakashi Iwai2008-10-154-27/+75
| |\ \
| | | * ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare usersMark Brown2008-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the visibility of the tristate conditional on having the OpenFirmware helper code enabed so that users who can't use it don't see the visible option. Kconfig ignores dependencies for select so other users are unaffected. Thanks to Takashi for the suggestion. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | | * ALSA: ASoC: Fix compile-time warning for tlv320aic23.cArun KS2008-10-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this warning: sound/soc/codecs/tlv320aic23.c: In function 'tlv320aic23_write': sound/soc/codecs/tlv320aic23.c:104: warning: passing argument 2 of 'codec->hw_write' makes pointer from integer without a cast Replaces i2c smbus write function with standard i2c write function Signed-off-by: Arun KS <arunks@mistralsolutions.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix quirk lists for realtek codecsKailang Yang2008-10-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix Toshiba S06 SSID to 1179:ff7b - Fix ASUS G50V quirk name - Add ASUS N20 quirk Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of ALC272Kailang Yang2008-10-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the support of ALC272 codec. It's almost compatible with ALC663. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add ALC887 supportKailang Yang2008-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added ALC887 support. It's almost compatible with ALC883/888. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add ALC1200 supportKailang Yang2008-10-151-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ALC1200 codec support. Almost compatible with ALC888. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix PCI SSID of ASUS M90VKailang Yang2008-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ASUS M90V has PCI SSID 1043:1873. Corrected in the quirk list. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add auto mic switch in realtek auto-probe modeKailang Yang2008-10-151-15/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the automatic mic switch via jack sensing in auto-probe mode for Realtek codecs. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda: fix nid variable warningMatthew Ranostay2008-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed compiler warning with possible uninitialized variable 'nid'. CC [M] /home/mranostay/git/alsa-driver/pci/hda/patch_sigmatel.o /home/mranostay/git/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c: In function ‘stac92xx_parse_auto_config’: /home/mranostay/git/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2815: warning: ‘nid’ may be used uninitialized in this function Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | ALSA: aoa i2sbus: don't overwrite module parameterJohannes Berg2008-10-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We shouldn't modify a global variable here. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | ALSA: Ensure PXA runtime data is initialisedMark Brown2008-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rest of the code relies on the runtime data being zero initialised so we need to use kzalloc() to allocate it. Reported-by: Oliver Ford <ipaqlinux@oliford.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | ALSA: misc typo fixesMariusz Kozlowski2008-10-192-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed typos in disabled codes via #if 0. Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | sound: add missing pcm kernel-docRandy Dunlap2008-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix alsa kernel-doc warning in linux-next: Warning(linux-next-20081016//sound/core/pcm_misc.c:327): No description found for parameter 'samples' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | ALSA: kernel docs: fix sound/core/ kernel-docRandy Dunlap2008-10-162-40/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add kernel-doc function short descriptions to sound/core functions that are missing this short description. Mostly this involves moving some of the function description onto the @funcname line. Also correct a few variable names and fix other kernel-doc notation. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | | ALSA: Handle NULL jacks in snd_jack_report()Mark Brown2008-10-161-0/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Facilitate drivers that wish to carry on if they can't create a jack input device by handling attempts to report the state of a NULL jack, removing the need to check for initialisation before use. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: us122l: fix missing unlock in usb_stream_hwdep_vm_fault()Li Zefan2008-10-151-6/+7
| | | | | | | | | | | | | | | | | | | | | Should unlock us122l->mutex before returning VM_FAULT_SIGBUS. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: Fix pxa2xx-ac97-lib.c compilationMarc Zyngier2008-10-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last ALSA merge broke pxa2xx-ac97-lib.c, as it brought back references to cpu_is_pxa21x that Eric Miao removed in commit 0ffcbfd54ea81ca24c0749f55ca4fcf3e2bdc23e: [ARM] pxa: make cpu_is_pxa2* macros more consistent This patch gets rid of those references, and only keeps cpu_is_pxa25x(). Signed-off-by: Marc Zyngier <maz@misterjones.org> Acked-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branches 'topic/asoc' and 'topic/hda' into for-linusTakashi Iwai2008-10-131-14/+36
|\ \ \ | |/ / | | / | |/ |/|
| * ALSA: hda: corrected invalid mixer valuesMatthew Ranostay2008-10-131-4/+4
| | | | | | | | | | | | | | Corrected invalid mixer index values on the 92hd71bxxx codec branch. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda: add mixers for analog mixer on 92hd75xx codecsMatthew Ranostay2008-10-131-14/+36
| | | | | | | | | | | | | | | | Add support for mixers on the analog mixer on some 92hd75xx codecs, along with adding a 'Mixer' entry for it's connection on the dmux. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC codec: remove unused #include <version.h>Huang Weiyi2008-10-133-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. sound/soc/codecs/ad1980.c sound/soc/codecs/wm8580.c sound/soc/codecs/wm8900.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: update email address for Liam GirdwoodLiam Girdwood2008-10-1317-27/+20
| | | | | | | | | | | | | | | | Update the contact information for Liam Girdwood in ASoC core and drivers as my old email address is no longer valid. Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: Add destination and source port for DMA on OMAP1Arun KS2008-10-131-1/+3
| | | | | | | | | | | | | | | | | | | | Adds destination and source port for dma in platform driver as required by OMAP1 Signed-off-by: Arun KS <arunks@mistralsolutions.com> Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: Drop device registration from GTA01 lm4857 driverJonas Bonn2008-10-131-45/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device registration should be handled at the machine level and not in the driver code itself. This patch removes the device registration from the driver code in preparation for moving it to the machine definition. [Squashed down two parts to this patch for bisectability - there's also a third part adding registration of the device to the out of tree GTA01 machine driver -- broonie] Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: Fix build of GTA01 audio driverMark Brown2008-10-131-2/+2
| | | | | | | | | | | | | | Fix a couple of thinkos introduced during the I2C API update. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: Add widgets before setting endpoints on GTA01Jonas Bonn2008-10-131-3/+3
| | | | | | | | | | | | | | | | | | This prevents error messages at startup where the endpoints are being set before the widgets/controls have even been added. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: ASoC: Fix inverted input PGA mute bits in WM8903Mark Brown2008-10-131-2/+2
| | | | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud