- 15 2月, 2010 3 次提交
-
-
由 Giuliano Pochini 提交于
Move the controls init code outside the init_hw() function because is must not be called during resume. This patch moves the code that initializes the card's controls with default valued from the init_hw() function into a separated set_mixer_defaults() function (one for each of the 16 supported cards). This change is necessary because during resume we must resurrect the hardware without losing the previous settings. set_mixer_defaults() must be called only once when the module is loaded. Signed-off-by: NGiuliano Pochini <pochini@shiny.it> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Giuliano Pochini 提交于
This patch implements a simple cache for the firmware files when CONFIG_PM is defined. This patch changes get_firmware(), free_firmware() and adds free_firmware_cache(). The first two functions implement a very simple cache and the latter is used to actually release all the stored firmwares when the module is unloaded. When CONFIG_PM is not enabled those functions act as before, that is free_firmware() releases the firmware immediately and free_firmware_cache() does nothing. Signed-off-by: NGiuliano Pochini <pochini@shiny.it> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Giuliano Pochini 提交于
Changes the way the firmware is passed through functions. When CONFIG_PM is enabled the firmware cannot be released because the driver will need it again to resume the card. With this patch the firmware is passed as an index of the struct firmware card_fw[] in place of a pointer. That same index is then used to locate the firmware in the firmware cache. Signed-off-by: NGiuliano Pochini <pochini@shiny.it> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 09 2月, 2010 1 次提交
-
-
由 Alexey Dobriyan 提交于
Use DEFINE_PCI_DEVICE_TABLE() to make PCI device ids go to .devinit.rodata section, so they can be discarded in some cases, and make them const. Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 05 2月, 2010 1 次提交
-
-
由 Sebastien Alaiwan 提交于
I found that the sampling rate locking setting of the ice1712 sound driver was only half-respected : when the driver was locked to, let's say, 44100Hz, and a usermode app was requesting 48000Hz playback, the request was succesful although the soundcard would continue to run at 44100Hz. Here's a patch that will make those requests to fail. Signed-off-by: NSebastien Alaiwan <sebastien.alaiwan@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 1月, 2010 1 次提交
-
-
由 Florian Zumbiehl 提交于
Make sure that capture DMA doesn't stay enabled after system resume as that potentially prevents the processor from entering deep sleep states. Signed-off-by: NFlorian Zumbiehl <florz@florz.de> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 1月, 2010 1 次提交
-
-
由 Jaroslav Kysela 提交于
The SPDIF-input pin 0x1c is muted by default in hardware. Unmute appropriate pin to get captured samples instead zeros. Tested on Lenovo Thinkstation. Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
- 18 1月, 2010 1 次提交
-
-
由 Clemens Ladisch 提交于
Add experimental support for the Asus Xonar DS. Signed-off-by: NClemens Ladisch <clemens@ladisch.de> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
- 14 1月, 2010 1 次提交
-
-
由 Takashi Iwai 提交于
Added a new option "subsystem" to override the PCI SSID for identifying the card type. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 08 1月, 2010 4 次提交
-
-
由 Daniel Drake 提交于
The XO's audio hardware is wired up to allow DC sensors (e.g. light sensors, thermistors, etc) to be plugged in through the microphone jack. Add sound mixer controls to allow this mode to be enabled and tweaked. Signed-off-by: NDaniel Drake <dsd@laptop.org> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
由 Daniel Drake 提交于
The XO-1.5 has a microphone LED designed to indicate to the user when something is being recorded. This light is controlled by the microphone bias voltage and it is currently coming on all the time. This patch defers the microphone port configuration until when recording is actually taking place, fixing the behaviour of the LED. Signed-off-by: NDaniel Drake <dsd@laptop.org> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
由 Ken Prox 提交于
Added patch for Hewlett-Packard Company Device Subsystem id - 103c:30ea. Signed-off-by: NKen Prox <kprox@users.sourceforge.net> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
由 Krzysztof Helt 提交于
The WM9705 and WM9703 ops are the same actually so use the same code for both. Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
- 28 12月, 2009 2 次提交
-
-
由 Daniel T Chen 提交于
This patch converts the alc889 Aspire-specific powerdown to a generic one. Like the previous effort, it currently only handles Front and PCM but can be easily extended to cover other nids. The existing hook for alc889 Aspire-specific remains enabled. Upon further testing, I've added its use for ALC861_AUTO as well. Following patches will enable them for other quirks. Tested-by: NDr. David Alan Gilbert <linux@treblig.org> Signed-off-by: NDaniel T Chen <crimsun@ubuntu.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Daniel T Chen 提交于
This patch ports powerdown fixes to AD198x. Currently we only turn off Front and HP for suspend, but this is easily extended for additional nids. Signed-off-by: NDaniel T Chen <crimsun@ubuntu.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 12月, 2009 4 次提交
-
-
由 Takashi Iwai 提交于
Rewrite the codes to use strict_strtoul() instead of simple_strtoul(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Check whether the given NID is a pin widget before storing the user-defined pin configs. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Call snd_hda_shutup_pins() at suspend and free for avoiding click noises. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Add a common helper function for clearing pin controls before suspend. Use the pincfg array instead of looking through all widget tree. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 12月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
gpio_led, gpio_led_polarity and gpio_mute are added now. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 25 12月, 2009 1 次提交
-
-
由 Wu Fengguang 提交于
When we run the following commands in turn (with CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0), speaker-test -Dhw:0,3 -c2 -twav # HDMI speaker-test -Dhw:0,0 -c2 -twav # Analog The second command will produce sound in the analog lineout _as well as_ HDMI sink. The root cause is, device 0 "reuses" the same stream tag that was used by device 3, and the "intelhdmi - sticky stream id" patch leaves the HDMI codec in a functional state. So the HDMI codec happily accepts the audio samples which reuse its stream tag. The proposed solution is to remember the last device each azx_dev was assigned to, and prefer to 1) reuse the azx_dev (and hence the stream tag) the HDMI codec last used 2) or assign a never-used azx_dev for HDMI With this patch and the above two speaker-test commands, HDMI codec will use stream tag 8 and Analog codec will use 5. The stream tag used by HDMI codec won't be reused by others, as long as we don't run out of the 4 playback azx_dev's. The legacy Analog codec will continue to use stream tag 5 because its device id is 0 (this is a bit tricky). Signed-off-by: NWu Fengguang <fengguang.wu@intel.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 24 12月, 2009 1 次提交
-
-
由 Anisse Astier 提交于
Signed-off-by: NAnisse Astier <anisse@astier.eu> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 23 12月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Postpone the mixer name setup after the codec patch since the codec patch may change the codec name string in itself. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Fix the wrong implementation of NID <-> kctl mapping for capture mixers introduced by the ocmmit 5b0cb1d8. So far, the driver returns an error at probe. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 22 12月, 2009 5 次提交
-
-
由 Takashi Iwai 提交于
The bass speaker is controlled via GPIO5. Tested-by: NWael Nasreddine <mla@nasreddine.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Fix the basic suspend/resume of snd-cs46xx drivers with new DSP. References: https://bugzilla.redhat.com/show_bug.cgi?id=498287 https://bugzilla.redhat.com/show_bug.cgi?id=160751Tested-by: NFlorian Zumbiehl <florz@florz.de> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
A machine with AMD CPU with Nvidia board doesn't work with MSI. Reported-by: NRobert J. King <peritus@gurunetwork.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
With the attached patch I am able to use the sound on a new IMac 27. What works: *) Internal speakers *) Internal microphone *) Headphone I don't have an external mic or a SPDIF device to test the rest. Signed-off-by: NRafael Avila de Espindola <rafael.espindola@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 12月, 2009 4 次提交
-
-
由 Hector Martin 提交于
The current Realtek code makes no specific provision for turning stuff off. The codec chip is placed into low-power mode generically, but this doesn't turn off any external hardware connected to it, in particular external amplifiers. This patch creates a hook function that is called by the codec suspend/resume functions. It ought to disable any external hardware in a device-specific way. I've implemented a generic ALC889 function that sets the EAPD pin properly, and used it for the Acer Aspire 8930G which can benefit from this feature. On my laptop, this results in ~0.5W extra savings. Signed-off-by: NHector Martin <hector@marcansoft.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Hector Martin 提交于
This patch removes some extra mixers that do nothing on the Acer Aspire 8930G. The CD mixer is useless because the SATA DVD/Blu-Ray drive has no analog audio output, and the Side mixer is useless because we max out at 6ch anyway. Signed-off-by: NHector Martin <hector@marcansoft.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Hector Martin 提交于
This patch just simplifies the 8930G verb array a bit. Just use the common ALC889 EAPD verb array to make things more consistent. The file is already huge enough already. Signed-off-by: NHector Martin <hector@marcansoft.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Daniel T Chen 提交于
BugLink: https://bugs.launchpad.net/bugs/479373 The OR has verified with hda-verb that the internal microphone needs VREF50 set for audible capture. Signed-off-by: NDaniel T Chen <crimsun@ubuntu.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 20 12月, 2009 1 次提交
-
-
由 Jaroslav Kysela 提交于
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
- 19 12月, 2009 1 次提交
-
-
由 Julia Lawall 提交于
Use kzalloc rather than kcalloc(1,...) The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ @@ - kcalloc(1, + kzalloc( ...) // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 12月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Instead of listing all individual PCI IDs, check the matching with the PCI class together with the vendor id for Nvidia. This simplifies the pci id entries. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Works fine with the auto-parser. Reference: Novell bnc#564940 https://bugzilla.novell.com/show_bug.cgi?id=564940Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 17 12月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
capsrc_nids can be NULL, and adc_nids should be taken as fallback. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Some model quirks missed the corresponding capsrc_nids. This resulted in non-working capture source selection. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Cc: <stable@kernel.org>
-
由 Einar Rünkaru 提交于
Conexant CX20583-10Z has digital beep device with volume control. Making use of them. Signed-off-by: NEinar Rünkaru <einarry@smail.ee> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-