- 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>
-
- 04 6月, 2009 1 次提交
-
-
由 Alexander Beregalov 提交于
Fix this build error when CONFIG_PM is not set: ound/pci/hda/hda_intel.c: In function 'azx_bus_reset': sound/pci/hda/hda_intel.c:1270: error: implicit declaration of function 'snd_pcm_suspend_all' sound/pci/hda/hda_intel.c:1271: error: implicit declaration of function 'snd_hda_suspend' sound/pci/hda/hda_intel.c:1272: error: implicit declaration of function 'snd_hda_resume' Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com> 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>
-
- 31 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
ICH6_GCTL_RESET was wrongly set to another bit by the commit b21fadb9. This caused a problem when the codec needs really a reset (e.g. recovering from the communication error at probe). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 28 5月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Added some missing register bits definitions to reduce magic numbers. Also renamed some to follow the names on the datasheet. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
In the single_cmd mode, the hardware cannot store the multiple replies like on RIRB, thus each verb has to sync and wait for the response no matter whether the return value is needed or not. Otherwise it may result in a wrong return value from the previous verb. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 5月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
In the single_cmd mode, the current driver code doesn't do any update for RIRB just for any safety reason. But, actually the RIRB and single_cmd mode don't conflict. Unsolicited events can be delivered even while using the single_cmd mode. This patch allows the handling of unsolicited events with single_cmd mode, just always checking RIRB independent from single_cmd flag. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
When a codec communication error occurs, the CORB/RIRB counters should be reset first before re-issuing the verb. Simply call azx_free_cmd_io() and azx_init_cmd_io() to achieve that. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 25 5月, 2009 1 次提交
-
-
由 Ozan Çağlayan 提交于
ASUS W5Fm needs the fixed codec-slots to probe to override the BIOS problem like W5F. Tested-by: NAlp Kılıç <kilic.alp@gmail.com> Signed-off-by: NOzan Çağlayan <ozan@pardus.org.tr> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 19 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Add proper prefix to each kernel message in hda_intel.c. Also, avoid the unneeded prefix when CONFIG_SND_VERBOSE_PRINTK is used together with snd_print*(). Reference: bko#13207 http://bugzilla.kernel.org/show_bug.cgi?id=13207Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The PCI entries of Creative with HD-audio class can be the devices with emu20k1/emu20k2 chips. These are supported better by snd-ctxfi driver. With that driver, the device will mutate from HD-audio to its native class. This patch adds a simple ifdef to avoid the conflict of device probe between snd-hda-intel and snd-ctxfi drivers. 1102:0009 seems still OK to be added as it has no emu20kx chip, and is a pure HD-audio device. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 21 4月, 2009 1 次提交
-
-
由 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>
-
- 16 4月, 2009 3 次提交
-
-
由 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>
-
由 Joe Perches 提交于
Commit fa00e046 added a new bitfield not adjacent to other bitfields in the same struct. Moved the new one. Signed-off-by: NJoe Perches <joe@perches.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 14 4月, 2009 1 次提交
-
-
由 Yang Hongyang 提交于
This is the second go through of the old DMA_nBIT_MASK macro,and there're not so many of them left,so I put them into one patch.I hope this is the last round. After this the definition of the old DMA_nBIT_MASK macro could be removed. Signed-off-by: NYang Hongyang <yanghy@cn.fujitsu.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Tony Lindgren <tony@atomide.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: Greg KH <greg@kroah.com> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 10 4月, 2009 1 次提交
-
-
由 Jaroslav Kysela 提交于
I found two issues with ICH7-M (it should be related to other HDA chipsets as well): - the ring buffer position is not reset when stream restarts (after xrun) - solved by moving azx_stream_reset() call from open() to prepare() callback and reset posbuf to zero (it might be filled with hw later than position() callback is called) - irq_ignore flag should be set also when ring buffer memory area is not changed in prepare() callback - this patch replaces irq_ignore with more universal check based on jiffies clock Signed-off-by: NJaroslav Kysela <perex@perex.cz>
-
- 19 3月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Don't reset the stream at each prepare callback but do it only once after the open. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
So far, the prepare callback is called multiple times, BDL entries are reset and re-programmed at each time. This patch adds the check to avoid the reset of BDL entries when the same parameters are used. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 18 3月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
The position-buffer on ATI controllers are unreliable as well as on VIA chips, thus the same workaround for DMA position reading as VIA is useful for ATI. Cc: <stable@kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
ATI controllers (at least some SB0600 models) appear buggy to handle 64bit DMA. As a workaround, reset GCAP bit0 and let the driver to use only 32bit DMA on these controllers. Cc: <stable@kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 02 3月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Revert the Toshiba probe_mask quirk for 2.6.29 kernel (commit 38f1df27). In the current tree, the digital-only codec is handled properly so no codec conflict should occur. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Some Toshiba laptops have another ALC268 codec on slot#3 that conflicts with the primary codec. The codec#3 is for the digital I/O, and should be fixed by the driver, but it'd need a bunch of changes. So, let's fix the probe problem temporarily by setting the default probe_mask value. Reference: kernel bugzilla #12735 http://bugzilla.kernel.org/show_bug.cgi?id=12735Tested-by: NAlexey Dobriyan <adobriyan@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 2月, 2009 1 次提交
-
-
由 peerchen 提交于
Added the Device IDs for MCP89 HD audio controller. Removed the IDs of MCP7B cause this chipset had been cancelled. Signed-off-by: NPeer Chen <peerchen@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 16 2月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
This reverts commit 32e176c1. That commit caused a regression with suspend on Thinkpad SL300. Reference: kernel bug#12711 http://bugzilla.kernel.org/show_bug.cgi?id=12711Tested-by: NAlexandre Rostovtsev <tetromino@gmail.com> Acked-by: NRafael J. Wysocki <rjw@sisk.pl> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 13 2月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
ASUS W5F needs the fixed codec-slots to probe to override the BIOS problem. Tested-by: NGiovanni Moser Frainer <giovanni@redix.com.br> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Some devices have broken BIOS and they don't set the codec probe-bit properly after cleared by the driver. This makes the driver skipping the necessary codec slots. Since BIOS update isn't always easy, now the semantics of probe_mask option is changed a bit. When it contains the bit 8 (0x100), the lower bits are used to probe that slots regardless of codec-probe bits returned by the hardware. For example, probe_mask=0x103 will force to probe the codec slot #0 and #1. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 12 1月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Convert from snd_card_new() to the new snd_card_create() function in sound/pci/*. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 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>
-
- 19 12月, 2008 1 次提交
-
-
由 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>
-
- 11 12月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Fixed the compile warning regarding the unused function when built with CONFIG_PM=n: sound/pci/hda/hda_intel.c:1905: warning: ‘snd_hda_codecs_inuse’ defined but not used snd_hda_codecs_inuse() is used only in the resume callback. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 07 12月, 2008 1 次提交
-
-
由 Rafael J. Wysocki 提交于
Move the restoration of the standard PCI configuration registers in the snd_hda_intel driver to a ->resume_early() callback executed with interrupts disabled, since doing that with interrupts enabled may lead to problems in some cases. This patch addresses the regression from 2.6.26 tracked as http://bugzilla.kernel.org/show_bug.cgi?id=12121 . Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 28 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Moved power_save field initialization inside a proper ifdef to fix a build error without CONFIG_SND_HDA_POWER_SAVE. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 11月, 2008 2 次提交
-
-
由 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>
-
- 25 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
Medion MD96630 has ALC268 codec on slot#2 although it's not used for any purpose. This codec conflicts with the primiary codec ALC888 on slot#0, and gives mixer errors. This patch adds a corresponding entry to probe_mask blacklist. Reference: Novell bnc#412528 https://bugzilla.novell.com/show_bug.cgi?id=412528Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 20 11月, 2008 1 次提交
-
-
由 Wu Fengguang 提交于
Replace 5 free-and-return-err blocks with goto-out-free ones. This makes the main logic more outstanding. Signed-off-by: NWu Fengguang <wfg@linux.intel.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 13 11月, 2008 1 次提交
-
-
由 Yang, Libin 提交于
The patch uses HD Audio PCI class code to detect AMD HD Audio cards. Signed-off-by: NLibin Yang <libin.yang@amd.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 07 11月, 2008 1 次提交
-
-
由 Takashi Iwai 提交于
BIOS on Dell Studio Desktop tells wrong codec probe masks. This patch gives the preset mask value to avoid invalid access. Reference: Novell bug#440907 https://bugzilla.novell.com/show_bug.cgi?id=440907Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-