summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] ice1724 - Improved the Juli rate settingPavel Hofman2008-04-244-195/+599
| | | | | | | | | * moving most of clock-specific code to card-specific routines * support for ESI Juli * to-be-researched - monitoring of analog/digital inputs Signed-off-by: Pavel Hofman <dustin@seznam.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci/pcxhr/pcxhr.c: fix warningsAndrew Morton2008-04-241-2/+2
| | | | | | | | | | | | sparc64: sound/pci/pcxhr/pcxhr.c: In function `pcxhr_update_r_buffer': sound/pci/pcxhr/pcxhr.c:459: warning: cast to pointer from integer of different size sound/pci/pcxhr/pcxhr.c: In function `pcxhr_trigger_tasklet': sound/pci/pcxhr/pcxhr.c:628: warning: long int format, different type arg (arg 4) Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci/pcxhr/pcxhr_core.c: fix printk warningAndrew Morton2008-04-241-1/+1
| | | | | | | | | | sound/pci/pcxhr/pcxhr_core.c: In function `pcxhr_set_pipe_state': sound/pci/pcxhr/pcxhr_core.c:899: warning: long int format, different type arg (arg 4) suseconds_t is int on sparc64. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci/aw2/aw2-alsa.c needs dma-mapping.hAndrew Morton2008-04-241-0/+1
| | | | | | | | | | | | sparc32: sound/pci/aw2/aw2-alsa.c: In function 'snd_aw2_create': sound/pci/aw2/aw2-alsa.c:282: error: 'DMA_32BIT_MASK' undeclared (first use in this function) sound/pci/aw2/aw2-alsa.c:282: error: (Each undeclared identifier is reported only once sound/pci/aw2/aw2-alsa.c:282: error: for each function it appears in.) Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: disable clock of unused I2S inputsClemens Ladisch2008-04-241-11/+18
| | | | | | | Disable the master clock outputs of any unused I2S inputs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: move MIDI flag to model structClemens Ladisch2008-04-245-10/+13
| | | | | | | | Put the flag that enables the MIDI port into the model structure instead of passing it as a separate parameter to oxygen_pci_probe(). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: make SPI/2-wire configuration model-specificClemens Ladisch2008-04-244-9/+12
| | | | | | | | Allow the model drivers to specify if the codec communication goes over SPI or a 2-wire bus. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: change model-specific PCM device configurationClemens Ladisch2008-04-246-152/+176
| | | | | | | | | | When specifying which PCM devices to use, model drivers now use flags that also specify the routing between PCM devices and DMA channels instead of just DMA channel bits. This simplifies some code that checks for these flags. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: add monitor controlsClemens Ladisch2008-04-242-8/+164
| | | | | | | | | | | Add controls to enable monitoring of the analog and digital inputs. To allow monitoring after loading the driver when nothing has been played back or recorded yet, the I2S input and outputs are initialized to a valid configuration. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] virtuoso: move PCM1796 symbols to a header fileClemens Ladisch2008-04-242-54/+59
| | | | | | | Move the PCM1796 register symbol definitions to their own header file. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] oxygen: move WM8785 symbols to a header fileClemens Ladisch2008-04-242-41/+46
| | | | | | | Move the WM8786 register symbol definitions to their own header file. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Removed deprecated sound/driver.h from Freescale MPC8610 driversTimur Tabi2008-04-242-2/+0
| | | | | | | | With commit 9004acc70e8c49c50c4c7b652f906f1e0ed5709d, include/sound/driver.h is deprecated. This patch removes the #include from fsl_ssi.c and fsl_dma.c. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Add sync supportTakashi Iwai2008-04-241-17/+79
| | | | | | Addded the support of sync streams to hda-intel driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Support of Lenovo Thinkpad X300Takashi Iwai2008-04-242-0/+95
| | | | | | Added the model thinkpad for Lenovo Thinkpad X300 with AD1984A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] soc - Add missing audio path between Mono Mixer and Mic PGAsRobert Jarzmik2008-04-241-0/+2
| | | | | | Signed-off-by: Robert Jarzmik <rjarzmik@free.fr> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - keep the format verb at closing PCM streamsTakashi Iwai2008-04-249-26/+34
| | | | | | | Keep the format verb at closing PCM streams. Introduced snd_hda_codec_cleanup_stream() for the parcicular purpose. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix spekaer output of Panasonic CF-74Takashi Iwai2008-04-242-1/+10
| | | | | | | Add a new model "panasonic" for Panasonic CF-74 with STAC9200 codec to fix the speaker output. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Add barrierTakashi Iwai2008-04-241-2/+5
| | | | | | Add proper barriers in the RIRB communication code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Map 3stack-6ch-dig ALC883 model for MSI 945GCM5 V2 (MSI-7267)Herton Ronaldo Krzesinski2008-04-241-0/+1
| | | | | | | Map 3stack-6ch-dig ALC883 model for MSI 945GCM5 V2 (MSI-7267). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix DAC assignment order in ALC883Herton Ronaldo Krzesinski2008-04-241-34/+22
| | | | | | | | | | | | | | | | Actually clfe and surround DACs are inverted in alc883_dac_nids array (see ALC883 datasheet). I discovered this while testing multi-channel setup (using 3stack-6ch-dig model) on MSI 945GCM5 V2 motherboard that has an ALC883 codec. Simply Rear Left/Right and Center/LFE were swapped in 6 channel mode (also in 4 channel mode you didn't get rear left/right output). Other models also were affected by this bug, as can be seen by the mixer layouts that "workaround" this (the real bug was not noticed, and some other models simply played with mixer and initial verbs). Thus along with fixing the order of dac nids, also change the models that relied on previous dac ordering properly. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/drivers/pcsp/pcsp.c build fixMariusz Kozlowski2008-04-241-0/+1
| | | | | | | | | | | sound/drivers/pcsp/pcsp.c: In function 'snd_pcsp_create': sound/drivers/pcsp/pcsp.c:54: error: 'loops_per_jiffy' undeclared (first use in\ this function) sound/drivers/pcsp/pcsp.c:54: error: (Each undeclared identifier is reported on\ ly once sound/drivers/pcsp/pcsp.c:54: error: for each function it appears in.) Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] at73c213: Add constraints for periods valueAtsushi Nemoto2008-04-241-0/+6
| | | | | | | | | | The interrupt handler always provide runtime->period_size data, so it works correctly only if buffer_size was a multiple of period_size. This patch fixes periodic click noise. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci: remove unused variableJulia Lawall2008-04-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The variable is_capture is initialized but never used otherwise. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ type T; identifier i; constant C; @@ ( extern T i; | - T i; <+... when != i - i = C; ...+> ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1724 - Fix return codes in some pointis callbacksTakashi Iwai2008-04-241-2/+2
| | | | | | | Fixed the return codes (1 for changed values) in put callbacks of pontis. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio - Add a proper error checkTakashi Iwai2008-04-241-2/+7
| | | | | | | The error in check_hw_params_convention() has to be checked and handled properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] some fixes and cleanup for ICE1724 cardsPavel Hofman2008-04-246-33/+25
| | | | | | | | | * removing the hack with NON_AKM ak4xxx type * support for card-specific flags in ak4114_stats * definition of the flags for corresponding cards Signed-off-by: Pavel Hofman <dustin@seznam.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()Joachim Foerster2008-04-241-2/+0
| | | | | | | | We want to have snd_card_set_dev() in _probe(), but not a second one in snd_ml403_ac97cr_create(). Signed-off-by: Joachim Foerster <JOFT@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1724 - Fix the SPDIF input sample-rate on Juli@Takashi Iwai2008-04-242-0/+25
| | | | | | | | | AK4114 on Juli@ has the SPDIF input sample rate detection and causes errors when an incompatible sample rate is chosen. The patch adds the open hook to check the current rate and limit the hw constraints. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fujitsu Lifebook port replicator/dock headphone jack senseTony Vroon2008-04-241-11/+19
| | | | | | | | | | | The docking station headphone output had no audio and jack sense was not considered. Jack information from the laptop itself and the dock are combined, as the dock does not obscure the connector. Signed-off-by: Tony Vroon <tony@linx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Fix power-off hang on ASUS P5AD2Takashi Iwai2008-04-241-3/+7
| | | | | | | | | | | The hda-intel driver has a problem at power-off on ASUS P5AD2. It's caused when the position-buffer is enabled -- most likely a hardware-specific problem. This patch adds a quirk to avoid the unnecessary enablement of position-buffer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Map 3stack-6ch-dig ALC662 model for Asus P5GC-MXHerton Ronaldo Krzesinski2008-04-241-0/+1
| | | | | | | Map 3stack-6ch-dig ALC662 model for Asus P5GC-MX. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix ALC662 DAC mixer mutesHerton Ronaldo Krzesinski2008-04-241-9/+9
| | | | | | | | | | | | | | | Currently ALC662 doesn't suport amp mute for AmpOut in nids 0x02, 0x03, 0x04 (see block diagram in ALC662 datasheet page 3, does M correspond to mute?). The result is that currently mute for "Front Playback Switch", "Surround Playback Switch", "Center Playback Switch" and "LFE Playback Switch" mixer items doesn't work (tested on Asus P5GC-MX motherboard with 3stack-6ch model). The solution I found for this is to mute the proper inputs in 0x0c, 0x0d, 0x0e audio mixers. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix orphan Headphone controls in STAC codecsTakashi Iwai2008-04-241-6/+2
| | | | | | | | | Currently, the headphone controls are created as Master wrongly in some cases, and this prevents the virtual master controls. The patch fixes the problem by simply using "Headphone" always for headphone controls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: 92HD73xxx distortion fixMatthew Ranostay2008-04-241-4/+25
| | | | | | | | | Fixed issue on some laptops that if the Master mixer and DAC mixers are turned all the way up that will cause distortion. This is fixed by limiting the max volume with the volume knob nid. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] pcsp: locking fixStas Sergeev2008-04-242-3/+4
| | | | | | | pcsp: locking fix. Signed-off-by: Stas Sergeev <stsp@aknet.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Improve ALC262 ultra modelTakashi Iwai2008-04-241-39/+93
| | | | | | | | | | Improved ALC262 ultra model for Samsung Q1 Ultra series. - clean up mixers - support of input from HP jack as a mic - add quirk for Q1 EL Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] at73c213: remove redundant private_free routineAtsushi Nemoto2008-04-241-10/+0
| | | | | | | | | | snd_pcm_lib_preallocate_free_for_all() is called from snd_pcm_free() just after calling the private_free routine. So there should be no need to call it in driver's private_free routine. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] aw2 - Rename aw2-tsl.h to aw2-tsl.cTakashi Iwai2008-04-242-1/+2
| | | | | | | aw2-tsl.h should be rather a C file to be included since it's referred only in aw2-saa6146.c and includes a table data. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Fix microphone capture with ALC880 F1734 modelMichael Gruber2008-04-241-1/+2
| | | | | | | | The default capture source should be the mic which is 0x01 on this model. In addition to that the change to VREF50 allows for higher capture volume. Signed-off-by: Michael Gruber <lists.mg@googlemail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: Reorganized DAC outputsMatthew Ranostay2008-04-241-2/+2
| | | | | | | Changed so that internal speakers point to the Front mixer instead of Surround. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] release 1.0.16Takashi Iwai2008-04-241-2/+2
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] at73c213: monaural supportAtsushi Nemoto2008-04-241-4/+15
| | | | | | | | | Add support for monaural playback to at73c213 driver. The sound will be apear on L-channel. Tested on AT91SAM9260-EK. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] at73c213: fix error checking for clk APIAtsushi Nemoto2008-04-241-1/+2
| | | | | | | | | | The clk_round_rate() and clk_set_rate() will return int, so not store thier return value to unsigned long variable. This bug hides real error on these API. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] HDA Codecs: add support for Toshiba Equium L30Tobin Davis2008-04-241-14/+16
| | | | | | | | This patch adds support for the Toshiba Equium L30 laptop and renames the mixer controls to match Laptop usages. Signed-off-by: Tobin Davis <tdavis@dsl-only.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* sound: Use BUG_ONJulia Lawall2008-04-241-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @ disable unlikely @ expression E,f; @@ ( if (<... f(...) ...>) { BUG(); } | - if (unlikely(E)) { BUG(); } + BUG_ON(E); ) @@ expression E,f; @@ ( if (<... f(...) ...>) { BUG(); } | - if (E) { BUG(); } + BUG_ON(E); ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
* [ALSA] hda-codec - Add internal mic item for ALC268 acer modelTakashi Iwai2008-04-241-1/+14
| | | | | | | Added the internal mic as a capture source item for ALC268 acer model. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix dmics on ALC268 in auto configurationTakashi Iwai2008-04-241-9/+18
| | | | | | Fixed the handling of dmics on ALC268 in the auto-configuration mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda_intel: Add the DIDs of nvidia MCP79 HD audio controller to ↵Peer Chen2008-04-241-0/+4
| | | | | | | | | hda_intel.c Add the Device IDs of nvidia MCP79 HD audio controller to hda_intel.c Signed-off-by: Peer Chen <peerchen@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - model for cx20549 to support laptop HP530Jiang zhe2008-04-241-1/+50
| | | | | | | | | | | | | | | Currently the model laptop-hpsense use the 0x12 as ExtMic, and use 0x14 as Internal IntMic. But the hp530 only have one ExtMic, the Pin widget is 0x14. In this patch, I changed the mixer item for them. I still reserved the IntMic item, it will be helpful if other machine may use this model. ALSA bug#3821. Signed-off-by: Jiang zhe <zhe.jiang@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - model for alc883 to support FUJITSU Pi2515Jiang zhe2008-04-241-0/+85
| | | | | | | | There is no suitable model for Pi2515. This model is to support it. ALSA bug#3800. Signed-off-by: Jiang zhe <zhe.jiang@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud