summaryrefslogtreecommitdiffstats
path: root/sound/pci/via82xx.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [ALSA] via82xx - Use DXS_SRC as default for VIA8235/8237/8251 chipsTakashi Iwai2006-04-271-2/+6
| | | | | | | | Use DXS_SRC as the default value for dxs_support option for VIA8235/8237/8251 chips. These new chips should work well with SRC. For VIA8233/A/C, the old default DXS_48K is still used to be sure. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] add __devinitdata to all pci_device_idHenrik Kretzschmar2006-04-271-1/+1
| | | | | Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx: tweak VT8251 workaroundBastiaan Jacques2006-04-271-9/+7
| | | | | | | | | | | Move the workaround for the VT8251 up a bit, and check for STAT_EOL rather than STAT_ACTIVE. This resolves issues some people were having with certain ALSA clients (and allows the STAT_ACTIVE check to do what it was intended to do). This change was suggested by Andrew Daviel. Signed-off-by: Bastiaan Jacques <b.jacques@planet.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx: add support for VIA VT8251 (AC'97)Bastiaan Jacques2006-04-271-2/+12
| | | | | | | | Add support for VIA VT8251 AC'97. Includes a workaround which ensures sound won't stop playing after one second of playback. Signed-off-by: Bastiaan Jacques <b.jacques@planet.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add a dxs entry for ECS K8T890-ATakashi Iwai2006-04-121-0/+1
| | | | | | | | Modules: VIA82xx driver Added a dxs_support entry for ECS K8T890-A board. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for EPoX EP-8KRAITakashi Iwai2006-03-311-0/+1
| | | | | | Added the dxs_support entry for EPoX EP-8KRAI (ALSA bug#1423). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for ASRock moboTakashi Iwai2006-03-221-0/+1
| | | | | | | | Modules: VIA82xx driver Add dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for FSC Amilo L7300Takashi Iwai2006-03-221-0/+1
| | | | | | | | Modules: VIA82xx driver Added dxs_support entry for FSC Amilo L7300. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for P4M800/VIA8237RTakashi Iwai2006-02-011-0/+1
| | | | | | | | | Modules: VIA82xx driver Added the dxs entry for P4M800/VIA8237R, reported by OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for a FSC boardTakashi Iwai2006-02-011-0/+1
| | | | | | | | Modules: VIA82xx driver Add dxs entry for a FSC board. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs_support entry for EpoX 9HEAITakashi Iwai2006-01-221-0/+1
| | | | | | | | Modules: VIA82xx driver Added the dxs_support entry for EpoX 9HEAI. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs_support entryTakashi Iwai2006-01-221-0/+1
| | | | | | | | Modules: VIA82xx driver Added a dxs_support entry for Jetway K8M8MS. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs_support for ASUS moboTakashi Iwai2006-01-221-0/+1
| | | | | | | | Modules: VIA82xx driver Add a dxs_support entry for ASUS mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add a quirk for Targa Traveller 811Takashi Iwai2006-01-031-0/+6
| | | | | | | | Modules: VIA82xx driver Add an ac97 quirk entry for Targa Traveller 811. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for ASRock moboTakashi Iwai2006-01-031-0/+1
| | | | | | | | Modules: VIA82xx driver Added dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Fix PM supportTakashi Iwai2006-01-031-13/+20
| | | | | | | | Modules: VIA82xx driver,VIA82xx-modem driver Fix PM support on VIA82xx and modem drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove xxx_t typedefs: PCI VIA82xxTakashi Iwai2006-01-031-178/+212
| | | | | | | | Modules: VIA82xx driver,VIA82xx-modem driver Remove xxx_t typedefs from the PCI VIA82xx and modem drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSRTakashi Iwai2006-01-031-0/+1
| | | | | | | | Modules: VIA82xx driver Added the dxs entry for MSI KT800 Delta-FSR. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [PATCH] PCI: removed unneeded .owner field from struct pci_driverGreg Kroah-Hartman2005-11-101-1/+0
| | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [ALSA] Fix schedule_timeout usageNishanth Aravamudan2005-11-041-4/+2
| | | | | | | | | | | Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add missing KERN_* suffix to printkTakashi Iwai2005-11-041-3/+3
| | | | | | Add missing KERN_* suffix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix the type of enable module optionTakashi Iwai2005-11-041-1/+1
| | | | | | Fix the type of enable module option to bool. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Reduce interrupt latency in sound/pci/via82xx.cKarsten Wiese2005-11-041-39/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: VIA82xx driver The change only affects the via823x kind of chips. Here the via8233_pcm_pointer_hw() function (named snd_via8233_pcm_pointer() before) needed to loop until a non zero position is red from the chip. Measurements have shown that more than 200 loops are typically needed on an Athlon64. As io-reads cost many cycles, those loops sum up huge. via8233_pcm_pointer_hw() runs either in interrupt or with interrupts disabled. So it introduces significant interrupt latency. The patch introduces a calculated position value hwptr_done, that is updated by the interrupt routine when a period is completed. It is only used, if the 823x chip returns a zero position, which can't be interpreted reliably. Further optimisation is applied on the 8233 chip's interrupt routine: Only the SGD_SHADOW is read, as it contains all infos needed. We ommit ~5 more register reads that way. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Enable DXS controls for VIA VT82xxHonza Maly2005-11-041-11/+63
| | | | | | | | | | | Modules: VIA82xx driver The patch enable separate DXS controls of sound function of VIA VT82xx controller in case DXS volume is not needed for PCM Playback volume control emulation. Signed-off-by: Honza Maly <hkmaly@matfyz.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add DXS entry for Clevo D470Takashi Iwai2005-11-041-0/+1
| | | | | | | | Modules: VIA82xx driver Added the DXS entry for Clevo D470 laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove vmalloc wrapper, kfree_nocheck()Takashi Iwai2005-11-041-8/+3
| | | | | | | | - Remove vmalloc wrapper - Add release_and_free_resource() to remove kfree_nocheck() from each driver and simplify the code Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add dummy obsoleted module options for backward compatibilityTakashi Iwai2005-11-041-0/+4
| | | | | | | Added dummay obsoleted module options for backward compatibility (to reduce possible bugzilla entries :) Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] highlanderize motherboard AC97/HDA driversClemens Ladisch2005-11-041-56/+47
| | | | | | | | Remove the code for supporting eight cards from the integrated controller drivers because There Can Be Only One controller of each type per mainboard. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Removing obsolete AC97_SHARED_TYPESSasha Khapyorsky2005-11-041-1/+1
| | | | | | | | | | This patch cleans last ac97 audio/modem codec interception in initialization procedures (ac97_mixer_new()) and removes obsolete SHARED_TYPE 'locking' which prevents from AMC codecs to function correctly. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - dxs_support entry for an ASUS moboTakashi Iwai2005-10-071-0/+1
| | | | | | | VIA82xx driver Addded a dxs_support entry for an ASUS mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add a dxs whitelist entryTakashi Iwai2005-10-071-0/+1
| | | | | | | VIA82xx driver Added a dxs whitelist entry for an ECS mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] set owner field in struct pci_driverClemens Ladisch2005-09-121-0/+1
| | | | | | | | | | | | | | | | AD1889 driver,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver ALI5451 driver,au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver HDA Intel driver,ICE1712 driver,ICE1724 driver,KORG1212 driver MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver Trident driver,Digigram VX222 driver,YMFPCI driver Set the module owner field in each driver's struct pci_driver to get the driver symlink in the sysfs device directory. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Replace with kzalloc() - pci stuffTakashi Iwai2005-09-121-1/+1
| | | | | | | | | | | | | | AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] pci_find_device removeJiri Slaby2005-09-121-1/+2
| | | | | | | | | Memalloc module,CS46xx driver,VIA82xx driver,ALI5451 driver au88x0 driver Replace pci_find_device() with pci_get_device() and pci_dev_put(). Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove superfluous PCI ID definitionsTakashi Iwai2005-09-121-8/+0
| | | | | | | | | | | | CS46xx driver,EMU10K1/EMU10K2 driver,PCM Midlevel,Trident driver YMFPCI driver,BT87x driver,CMIPCI driver,CS4281 driver ENS1370/1+ driver,ES1938 driver,ES1968 driver,Intel8x0 driver Intel8x0-modem driver,Maestro3 driver,RME32 driver,RME96 driver SonicVibes driver,VIA82xx driver,ALI5451 driver,ICE1712 driver ICE1724 driver,NM256 driver,RME HDSP driver,RME9652 driver Remove superfluous PCI ID definitions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add DXS entry for MSI 7142Takashi Iwai2005-08-301-0/+1
| | | | | | | VIA82xx driver Added the DXS entry for MSI 7142 (K8MM-V). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] PCM resume cleanupsJaroslav Kysela2005-08-301-1/+3
| | | | | | | | | Digigram VX core,CS4231 driver,ATIIXP driver,VIA82xx driver VIA82xx-modem driver,au88x0 driver,CS46xx driver,Trident driver This patch disables SNDRV_PCM_INFO_RESUME flag for drivers which does not support the full resume. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Fix SPDIF sample ratesTakashi Iwai2005-08-301-4/+4
| | | | | | | VIA82xx driver Fixed the sample rates set in the fourth DXS channel with Non-VRA mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add DXS entry for MSI K8MM-VTakashi Iwai2005-08-301-1/+2
| | | | | | | | VIA82xx driver Added the DXS entry for MSI K8MM-V. Also fixed a typo in last patch for Acer Aspire 1524 WLMi. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] use SNDRV_CTL_NAME_IEC958 macroClemens Ladisch2005-08-301-1/+1
| | | | | | | | | | CMI8330 driver,ENS1370/1+ driver,FM801 driver,VIA82xx driver,AC97 Codec ALI5451 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver ICE1712 driver,ICE1724 driver Where appropriate, use the SNDRV_CTL_NAME_IEC958 instead of a literal string. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] via82xx - Add dxs entry for Acer Aspire 1524 WMLiTakashi Iwai2005-08-301-0/+1
| | | | | | | VIA82xx driver Added the dxs entry for Acer Aspire 1524 WMLi. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Fix dxs_support of twinhead laptopTakashi Iwai2005-07-281-1/+1
| | | | | | | VIA82xx driver Changed the dxs_support value of twinhead laptop to DXS_SRC. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci: fix-up sleeping pathsNishanth Aravamudan2005-07-281-7/+6
| | | | | | | | | | | | | | | | | | ENS1370/1+ driver,ES1968 driver,Intel8x0 driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,ALI5451 driver,CS46xx driver MIXART driver,RME HDSP driver,Trident driver,YMFPCI driver Description: Fix-up sleeping in sound/pci. These changes fall under the following two categories: 1) Replace schedule_timeout() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. 2) Do not assume jiffies will only increment by one if you request a 1 jiffy sleep, i.e. use time_after/time_before in while loops. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - changed MSI K7T266 Pro2 - 4005:4710 in white list (SRC enable)Jaroslav Kysela2005-07-281-1/+1
| | | | | | VIA82xx driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - added MSI K7T266 Pro2 - 4005:4710 to white list (DXS enable)Jaroslav Kysela2005-07-281-0/+1
| | | | | | | VIA82xx driver Reporter: Marko Kohtala <marko.kohtala@gmail.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Add dxs_support for Soltek SL-K8Tpro-939Takashi Iwai2005-06-221-0/+1
| | | | | | | VIA82xx driver Added dxs_support entry for Soltek SL-K8Tpro-939. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Fix info text about dxs_support optionTakashi Iwai2005-06-221-1/+2
| | | | | | | VIA82xx driver Fixed the info text about dxs_support option (suggest dxs_support=5). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - fixed entry for Umax AB 595T (VIA K8N800A - VT8237)Jaroslav Kysela2005-06-221-1/+1
| | | | | | | VIA82xx driver As the original reporter noted, the NO_VRA must be used for loud volumes. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Remove redundant NULL checks before kfreeJesper Juhl2005-06-221-4/+2
| | | | | | | | | | | | | | | | Timer Midlevel,ALSA sequencer,ALSA<-OSS sequencer,Digigram VX core I2C tea6330t,GUS Library,VIA82xx driver,VIA82xx-modem driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,YMFPCI driver Digigram VX Pocket driver,Common EMU synth,USB generic driver,USB USX2Y Checking a pointer for NULL before calling kfree() on it is redundant, kfree() deals with NULL pointers just fine. This patch removes such checks from sound/ This patch also makes another, but closely related, change. It avoids casting pointers about to be kfree()'ed. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriateJaroslav Kysela2005-06-221-59/+59
| | | | | | | | | AC97 Codec,ATIIXP driver,VIA82xx driver To avoid confusion, the structure members vendor/device were renamed to subvendor/subdevice, because we compare them with PCI subsystem vendor and subsystem device. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
OpenPOWER on IntegriCloud