- 17 Jul, 2009 1 commit
-
-
Andiry Brienza authored
Add support for new AMD HD audio devices. Use generic driver to detect HD audio devices with Vendor ID AMD. Signed-off-by:
Andiry Xu <andiry.xu@amd.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 08 Jul, 2009 1 commit
-
-
Andiry Brienza authored
HDA driver disabled HD audio 64bit address support for all AMD SB600/SB700/SB800 platforms with commit 09240cf4 due to one SB600 issue reported by community, but we do not see the similar issue on SB700/SB800 platforms. This patch is to refine the workaround for SB600 only. Signed-off-by:
Andiry Xu <andiry.xu@amd.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 05 Jul, 2009 1 commit
-
-
Takashi Iwai authored
Release resources cleanly after errors in the sanity check in azx_pcm_open(). Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 03 Jul, 2009 2 commits
-
-
Takashi Iwai authored
Add some sanity checks of struct snd_pcm_hardware fields in the PCM open callback of hda driver. This makes a bit easier to debug any PCM setup errors in the codec side. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
The PCM rates bit field may have been changed by the codec open callback. In that case, we need to reset rate_min and rate_max. So, simply call snd_pcm_lib_hw_rates() again after the codec open callback. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 24 Jun, 2009 2 commits
-
-
Takashi Iwai authored
Added the patch module option to apply a "patch" as a firmware to modify pin configurations or give additional hints to the driver before actually initializing and configuring the codec. This can be used as a workaround when the BIOS doesn't give sufficient information or give wrong information that doesn't match with the real hardware setup, until it's fixed statically in the driver via a quirk. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 04 Jun, 2009 1 commit
-
-
Alexander Beregalov authored
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:
Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 01 Jun, 2009 2 commits
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 31 May, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 28 May, 2009 2 commits
-
-
Takashi Iwai authored
Added some missing register bits definitions to reduce magic numbers. Also renamed some to follow the names on the datasheet. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 26 May, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 25 May, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 24 May, 2009 1 commit
-
-
Ozan Çağlayan authored
ASUS W5Fm needs the fixed codec-slots to probe to override the BIOS problem like W5F. Tested-by:
Alp Kılıç <kilic.alp@gmail.com> Signed-off-by:
Ozan Çağlayan <ozan@pardus.org.tr> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 19 May, 2009 1 commit
-
-
Takashi Iwai authored
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=13207 Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 18 May, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 21 Apr, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 16 Apr, 2009 3 commits
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
Joe Perches authored
Commit fa00e046 added a new bitfield not adjacent to other bitfields in the same struct. Moved the new one. Signed-off-by:
Joe Perches <joe@perches.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 13 Apr, 2009 1 commit
-
-
Yang Hongyang authored
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:
Yang 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:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 10 Apr, 2009 1 commit
-
-
Jaroslav Kysela authored
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:
Jaroslav Kysela <perex@perex.cz>
-
- 19 Mar, 2009 2 commits
-
-
Takashi Iwai authored
Don't reset the stream at each prepare callback but do it only once after the open. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 18 Mar, 2009 2 commits
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 02 Mar, 2009 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 01 Mar, 2009 1 commit
-
-
Takashi Iwai authored
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=12735 Tested-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 27 Feb, 2009 1 commit
-
-
peerchen authored
Added the Device IDs for MCP89 HD audio controller. Removed the IDs of MCP7B cause this chipset had been cancelled. Signed-off-by:
Peer Chen <peerchen@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 16 Feb, 2009 1 commit
-
-
Takashi Iwai authored
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=12711 Tested-by:
Alexandre Rostovtsev <tetromino@gmail.com> Acked-by:
Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 13 Feb, 2009 2 commits
-
-
Takashi Iwai authored
ASUS W5F needs the fixed codec-slots to probe to override the BIOS problem. Tested-by:
Giovanni Moser Frainer <giovanni@redix.com.br> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 12 Jan, 2009 2 commits
-
-
Takashi Iwai authored
Convert from snd_card_new() to the new snd_card_create() function in sound/pci/*. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 19 Dec, 2008 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 11 Dec, 2008 1 commit
-
-
Takashi Iwai authored
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:
Takashi Iwai <tiwai@suse.de>
-
- 07 Dec, 2008 1 commit
-
-
Rafael J. Wysocki authored
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:
Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 27 Nov, 2008 1 commit
-
-
Takashi Iwai authored
Moved power_save field initialization inside a proper ifdef to fix a build error without CONFIG_SND_HDA_POWER_SAVE. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-