- 13 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Added the helper function snd_hda_multi_out_dig_cleanup() to clean up the digital outputs with multi setup. This call is needed in cases the codec supports multiple digital outputs as slaves. Otherwise the slave widgets aren't properly cleaned up. For a single digital output (e.g. in patch_conexant.c), this call isn't needed. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 12 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Detect multiple digital-out pins in snd_hda_parse_pin_defconfig(). The dig_out_pin and dig_out_type fields become arrays. The codec parser still doesn't use this multiple pins detection, though. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 11 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Fixed a wrong pin check (a typo) for debug print of digital input pin. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 06 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 05 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Some fixes regarding snd-hda-intel workqueue: - Use create_singlethread_workqueue() instead of create_workqueue() as per-CPU work isn't required. - Allocate workq name string properly - Renamed the workq name to "hd-audio*" to be more obvious. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 1月, 2009 4 次提交
-
-
由 Takashi Iwai 提交于
Add dig_out_type and dig_in_type fields to autocfg struct. A proper HDA_PCM_TYPE_* value is assigned to these fields according to the pin-jack location type value. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Don't break the loop in snd_hda_codec_build_pcms() even if the item has no substreams. It's possible that it's an empty item and the next item containing the valid substreams (e.g. realtek codecs may create the analog and alt-analog but no digitl streams). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Accept non-SPDIF digital I/O pins as the digital pins. These are usually corresponding to HDMI I/O. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Add the debug prints for digital I/O pin detections in snd_hda_parse_pin_def_config() function. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 20 1月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Added the volume offset to base for the standard volume controls to handle elements with too big volume scales like -96dB..0dB. For such elements, you can set the base volume to reduce the range. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 14 1月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Replaced the old schedule_work() with queue_delayed_work() where overlooked in the previous patches. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 12 1月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
snd-hda-intel driver used schedule_work() fot the delayed DMA pointer updates, but this has several potential problems: - it may block other eventsd works longer - it may deadlock when probing fails and flush_scheduled_work() is called during probe callback (as probe callback itself could be invoked from eventd) This patch adds an own workq for each driver instance to solve these problems. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 09 1月, 2009 1 次提交
-
-
由 Wu Fengguang 提交于
Fix the following lockdep warning by not reusing the hda_codec.spdif_mutex. ALSA sound/pci/hda/hda_codec.c:882: hda_codec_cleanup_stream: NID=0x2 ======================================================= [ INFO: possible circular locking dependency detected ] 2.6.28-next-20090102 #33 ------------------------------------------------------- mplayer/3151 is trying to acquire lock: (&pcm->open_mutex){--..}, at: [<ffffffffa004ced3>] snd_pcm_release+0x43/0xd0 [snd_pcm] but task is already holding lock: (&mm->mmap_sem){----}, at: [<ffffffff810c0252>] sys_munmap+0x42/0x80 which lock already depends on the new lock. Signed-off-by: NWu Fengguang <fengguang.wu@intel.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 19 12月, 2008 2 次提交
-
-
由 Takashi Iwai 提交于
Added probe_only module option to hd-audio driver. This option specifies whether the driver creates and initializes the codec-parser after probing. When this option is set, the driver skips the codec parsing and initialization but gives you proc and other accesses. It's useful to see the initial codec state for debugging. The default of this value is off, so the default behavior is as same as before. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The re-initializations of codec amp and verb caches are missing at reconfig, which may cause Oops occasionally. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 12月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Added Intel codec vendor id string (0x8086). Also fixed Intel-HDMI codec name strings, too. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 16 12月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Added Nvidia (0x10de) to the vendor id list. Cleaned up the codec name strings accordingly. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 30 11月, 2008 1 次提交
-
-
由 Mauro Carvalho Chehab 提交于
Gateway notebooks have their ID inside codec vendor ID, not at PCI ID. Due to that, model auto-detection were not possible with the standard seek method. This is what is found at lspci -vnn: 00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01) Subsystem: ATI Technologies Inc SB450 HDA Audio [1002:437b] Yet, autodetection is possible, since the codec properly reflects the vendor at the Subsystem ID: $ cat /proc/asound/card0/codec#0 |head -4 Codec: SigmaTel STAC9250 Address: 0 Vendor Id: 0x83847634 Subsystem Id: 0x107b0367 This patch adds a new autodetection function that seeks for codec subsystem ID. Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 28 11月, 2008 3 次提交
-
-
由 Takashi Iwai 提交于
The global functions in hda_codec.c and other core parts are only for HD-audio codec and controller drivers. When the HD-audio driver is built in kernel, all stuff have to be statically linked, thus we don't need any exports. This patch introduces a conditional macro to do export only when needed. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Checking MODULE is more generic. Also a cosmetic comment change. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Clear the remaining pointer at snd_hda_codec_reset() to avoid Oops. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 11月, 2008 4 次提交
-
-
由 Takashi Iwai 提交于
Split the monolithc HD-audio driver into several pieces: - snd-hda-intel HD-audio PCI controller driver; loaded via udev - snd-hda-codec HD-audio codec bus driver - snd-hda-codec-* Specific HD-audio codec drivers When built as modules, snd-hda-codec (that is invoked by snd-hda-intel) looks up the codec vendor ID and loads the corresponding codec module automatically via request_module(). When built in a kernel, each codec drivers are statically hooked up before probing the PCI. This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module information for each driver, and driver-linking codes between codec-bus and codec drivers. TODO: - Avoid EXPORT_SYMBOL*() when built-in kernel - Restore __devinit appropriately depending on the condition Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The reconfiguration of PCM affected all PCM streams on the bus, but this this should be done rather only for the target codec. This patch does the following: - introduce bitmap indicating the PCM device usages on a hda_bus - refactor the PCM build functions - fix __devinit prefix in some fucntions - add a proper ifdef around HDA-reconfig-specific functions Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Move power_save option into hda_intel.c, and make a field in hda_bus, instead of keeping module parameters in separate files. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Minor clean ups: move snd_hda_codecs_inuse() into hda_intel.c and make static. Also, make snd_hda_query_supported_pcm() static as it's used only in hda_codec.c. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 11月, 2008 1 次提交
-
-
由 Qinghuang Feng 提交于
There is no argument named @state in snd_hda_resume, remove its' comment. Signed-off-by: NQinghuang Feng <qhfeng.kernel@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 25 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
SPDIF status bits controls are written via snd_hda_codec_write() without caching. This causes a regression at resume that the bits are lost. Simply replacing it with the cached version fixes the problem. Reference: http://lkml.org/lkml/2008/11/24/324Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 22 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
snd_print_pcm_rates() and snd_print_pcm_bits() are used by both hda_proc.c and hda_eld.c, thus they have to be defined in the common place. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
The jack instances created in patch_sigmatel.c may be double-freed. The device management code checks the invalid element, and thus there is no real breakage, but it spews annoying warning messages. But, we can't simply remove the release calls of these jack instances because they have to be freed when the codec is re-configured. Now, a new flag, bus->shutdown is introduced to indicate that the bus is really being unloaded, i.e. the objects managed by the device manager will be automatically deleted. We release these objects only when this flag isn't set. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 10 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Fix another silly bug in the amp cache list management. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 07 11月, 2008 3 次提交
-
-
由 Takashi Iwai 提交于
The chaining for amp hash got broken due to the rewrite with snd_array. Fixed now. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Added a check for max allocation size in snd_array_new() for a debugging purpose. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Added the missing NULL check from allocator in get_alloc_hash(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 06 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
The hda_bus ops callback take struct hda_bus pointer. Also, the command callback takes the composed command word, instead of each small bits in arguments. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 05 11月, 2008 2 次提交
-
-
由 Wu, Fengguang 提交于
Add support for Intel G45 integrated HDMI audio codecs. This initial release supports: - 2 channel stereo sound output - report monitor's ELD information Signed-off-by: NWu Fengguang <wfg@linux.intel.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Due to the hda-reconfiguration patches, the check of empty stream is gone, and this results in an error with the codec setup with empty streams. This patch adds the check again to avoid the error at probing. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 04 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Add NULL-check of the return value of snd_kctl_new1() before accessing it. Also, make a sanity NULL check to snd_BUG_ON() for debugging only. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 28 10月, 2008 1 次提交
-
-
由 Mark Brown 提交于
Add Wolfson Microelectronics to the HDA vendor ID table. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 10月, 2008 1 次提交
-
-
由 Matthew Ranostay 提交于
This patch adds snd_hda_get_jack* functions for reporting jack location, device, and connectivity type. Signed-off-by: NMatthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 13 10月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
This patch enables the additional init verbs for each codec. The verbs can be entered via hwdep sysfs file. These verbs are executed at reconfiguring the codec for non-standard setups like overriding the pin-defcfg. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-