- 10 7月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The codec read errors in snd_hda_get_connections() are ignored so far, and it causes a problem like the bug in the commit 9d30937a ALSA: hda_intel: more strict alc880_parse_auto_config dig_nid checking Better to check errors in the function and returns a proper error code rather than passing bogus NID values. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 04 7月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
When FLOAT PCM format is available but together with other linear PCM formats, don't override maxbps value. For FLOAT format, it's always 32, thus it can be better checked in snd_hda_calc_stream_format(). Otherwise the maxbps 32 might be used wrongly even if the linear PCM doesn't support it. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Check whether formats and rates don't result in zero due to the restriction of SPDIF sharing. If any of them can be zero, disable the SPDIF sharing mode instead. Otherwise it will lead to a PCM configuration error. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 02 7月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
So far, the FLOAT PCM format is used only exclusivley set. But this can be a combination with other formats. This patch changes the parser to allow the FLOAT format in addition to other PCM formats. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 24 6月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The codec setup call via snd_hda_codec_configure() isn't necessarily called in snd_hda_codec_new(). For the later added feature, it's better to change the code flow like: - create all codec instances - configure each codec Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 17 6月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The codec->modelname field is allocated twice in snd_hda_codec_new(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 02 6月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
The reset of a BUS controller during operations is somehow risky and shouldn't be done inevitably for devices that have apparently no such codec-communication problems. This patch adds the check of the hardware and limits the bus-reset capability. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Some machines machine cause a severe CORB/RIRB stall in certain weird conditions, such as PA access at the start up together with fglrx driver. This seems unable to be recovered without the controller reset. This patch allows the bus controller reset at critical errors so that the communication gets recovered again. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
This patch adds a debug mode to make the codec communication synchronous. Define SND_HDA_SUPPORT_SYNC_WRITE in hda_codec.c, and the call of snd_hda_codec_write*() will become synchronous, i.e. wait for the reply from the codec at each time issuing a verb. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 16 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Split the name string in hda_codec struct to vendor_name and chip_name strings to be stored directly from the preset name. Since mostly only the chip name is referred in many patch_*.c, this results in the reduction of many codes in the end. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 4月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
Check the target power-state before checking EAPD exception to reduce unneeded verb executions. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The current error-recovery scheme for the codec communication errors doesn't work always well. Especially falling back to the single-command mode causes the fatal problem on many systems. In this patch, the problematic verb is re-issued again after the error (even with polling mode) instead of the single-cmd mode. The single-cmd mode will be used only when specified via the command option explicitly, mainly just for testing. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Cache quries for PCM and STREAM parameters as well as ampcap and pincap sharing the hash table. This will reduce the superfluous access of the same codec verbs. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 4月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
(Re)set function_id only from the value on FG nodes. The current code overrides the value with the last widget. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 16 4月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Check the length to copy via strlen() beforehand to avoid the stack corruption, or use strlcpy() to be safe in HD-audio codes. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Added the support for Creative SB X-Fi boards with UAA (HD-audio) mode. In the HD-audio mode, no multiple streams are supported by just it behaves like a normal HD-audio device. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 15 4月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Fix the key value generation for get/set amp verbs. The upper bits of the parameter have to be combined with the verb value to be unique for each direction/index of amp access. This fixes the resume problem on some hardwares like Macbook after the channel mode is changed. Tested-by: NJohannes Berg <johannes@sipsolutions.net> Cc: <stable@kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 23 3月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
Replace with the standard function calls to use caches for reading the widget caps and pin caps. hda_proc.c is still using the direct verbs to get raw values as much as possible. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Added snd_hda_query_pin_caps() to read and cache pin-cap values to avoid too frequently issuing the same verbs. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Pascal de Bruijn 提交于
This patch does two things: Output Intel HDA Function Id in /proc/asound/cardX/codec#X Align Vendor/Subsystem/Revision Ids to 8 characters, front-padded with zeros Before: Vendor Id: 0x11d41884 Subsystem Id: 0x103c281a Revision Id: 0x100100 After: Function Id: 0x1 Vendor Id: 0x11d41884 Subsystem Id: 0x103c281a Revision Id: 0x0100100 As report on the Kernel Bugzilla #12888 Signed-off-by: NPascal de Bruijn <pascal@unilogicnetworks.net> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 3月, 2009 1 次提交
-
-
由 Jaroslav Kysela 提交于
If ratesp or formatsp values are zero, wrong values are passed to ALSA's the PCM midlevel code. The bug is showed more later than expected. Also, clean a bit the code. Signed-off-by: NJaroslav Kysela <perex@perex.cz> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 13 3月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Change the power state of each widget before starting the initialization work so that all verbs are executed properly. Also, keep power-up during hwdep reconfiguration. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 06 3月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Fix snd_hda_add_vmaster() to check the non-zero indices of slave controls. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 03 3月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
It's false positive, but annoying. sound/pci/hda/hda_codec.c: In function ‘get_empty_pcm_device’: sound/pci/hda/hda_codec.c:2772: warning: ‘dev’ may be used uninitialized in this function Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 02 3月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
Don't return a fatal error to the driver but continue to probe when any error occurs at creating PCM streams for each codec. It's often non-fatal and keeping it would help debugging. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Revert the codec probe instead of returning the error to the driver when any error occurs at creating the control elements. The control element conflict can be non-fatal in many cases, especially if it comes from the digital-only codec. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Initiailize forgotten fields in snd_hda_codec_reset(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 23 2月, 2009 4 次提交
-
-
由 Takashi Iwai 提交于
Added the pseudo device-locking using card->shutdown flag to avoid the crash via clear/reconfig during operations. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Make user_pin overriding even the driver pincfg, e.g. the static / fixed pin config table in patch_sigmatel.c. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Rename from override_pin and cur_pin with user_pin and driver_pin, respectively, to be a bit more intuitive. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Replace with snd_hda_codec_get_pincfg() in the places where available. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 20 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Added the generic pincfg cache and save/restore functions. Also introduced the pin-overriding via hwdep sysfs. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 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 3 次提交
-
-
由 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>
-