aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* [ALSA] usb-audio: fix Emagic MIDI protocol handlingClemens Ladisch2005-08-30
| | | | | | | | USB generic driver Emagic devices pad their packets not with 0xff bytes but with a 0xff byte followed by garbage, so we have to stop at the first such byte. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Fix missing spin_unlockTakashi Iwai2005-08-30
| | | | | | | au88x0 driver,Common EMU synth Fixed missing spin_unlock. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] include/sound/gus.h: 'extern inline' -> 'static inline'Adrian Bunk2005-08-30
| | | | | | | | GUS Library 'extern inline' doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Fix ULI M5461 supportTakashi Iwai2005-08-30
| | | | | | | | | | | HDA Intel driver Fix and clean up for the support of ULI M5461 - set CORB/RIRB sizes explicitly - add workarounds for ULI on ia32 - max number of streams depends on the chip type now - increase the size of BDL Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add beep support for UniwillTakashi Iwai2005-08-30
| | | | | | | HDA Codec driver Added the missing beep support for Uniwill laptop (ALSA bug#1358). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Register device pointerTakashi Iwai2005-08-30
| | | | | | | Digigram VX Pocket driver Add snd_card_set_dev() to register the device pointer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Fix wrong index assignmentTakashi Iwai2005-08-30
| | | | | | | Digigram VX Pocket driver Fixed the wrong index number assignment. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Add missing event callbackTakashi Iwai2005-08-30
| | | | | | | Digigram VX Pocket driver Added the missing event callback. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix compilation without CONFIG_PROC_FSTakashi Iwai2005-08-30
| | | | | | | Memalloc module Fix an error when built without CONFIG_PROC_FS. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Code clean upTakashi Iwai2005-08-30
| | | | | | | HDA Codec driver Use struct instead of array to improve the readability of hda_codec.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - correct a bug in detection of rate supportedNicolas Graziano2005-08-30
| | | | | | | | | HDA Codec driver The insertion of the rate 9600 make a shift in detection of supported rate, put this rate at the end of the list. Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] HP nx6110 quirksSergey Vlasov2005-08-30
| | | | | | | | | | | | | | Intel8x0 driver,AC97 Codec The HP nx6110 laptop needs to have Headphone Jack Sense enabled so that the internal speakers will be turned off when headphones are plugged in. Also ac97_quirk=hp_only is needed to make a single Master volume in the mixer instead of separate volumes for internal speakers and headphones, which just confuses the user. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97_bus - revert last change and do it only in the ALSA treeJaroslav Kysela2005-08-30
| | | | | | AC97 Codec Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97_bus - replace <linux/module.h> with <sound/driver.h> for consistencyJaroslav Kysela2005-08-30
| | | | | | AC97 Codec Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Add DXS entry for MSI 7142Takashi Iwai2005-08-30
| | | | | | | 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-30
| | | | | | | | | 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] ac97 - make ac97 codec device name uniqueBjorge Dijkstra2005-08-30
| | | | | | | | | AC97 Codec The patch fixes the bus_id conflict error when registering two codecs of the same type (ALSA bug#1334). Signed-off-by: Bjorge Dijkstra <bjorge@gmx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hdspm - Fix module parameter descriptionTakashi Iwai2005-08-30
| | | | | | | RME9652 driver Fix the module parameter description after proofreading. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] nm256 - Fix PM and irq handlingTakashi Iwai2005-08-30
| | | | | | | | | | NM256 driver - Fixed the PCM resume - restoring the rate setting - Fixed the handling of buggy irqs - Dynamically acquire/release irq handler to make the driver more robust to unknown irq storms (as OSS driver does). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Fix PMTakashi Iwai2005-08-30
| | | | | | | | Intel8x0 driver Fixed the PCM resume of intel8x0. Restores the requested register setting. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ALSA timer - fixed compilationJaroslav Kysela2005-08-30
| | | | | | Timer Midlevel Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Timer API - SNDRV_TIMER_EVENT_RESUME - val is resolution in nsJaroslav Kysela2005-08-30
| | | | | | ALSA Core Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Timer API - added SUSPEND/RESUME eventsJaroslav Kysela2005-08-30
| | | | | | | | PCM Midlevel,Timer Midlevel,ALSA Core - added SNDRV_TIMER_EVENT_SUSPEND / RESUME events - changed timer events from PAUSE / CONTINUE in PCM midlevel to SUSPEND / RESUME Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-intel: Suspend/resume fixes for PCM devicesJaroslav Kysela2005-08-30
| | | | | | | | HDA Intel driver - removed SNDRV_PCM_INFO_RESUME (the driver cannot do PCM resume at the time) - fixed chip->pcm_devs initialization Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-patch-realtek - added pci subdevice ID for Acer TravelMate 8100 ↵Jaroslav Kysela2005-08-30
| | | | | | | | (3 stack model + digital out) HDA Codec driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Fix SPDIF sample ratesTakashi Iwai2005-08-30
| | | | | | | 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] Fix PCM 32bit compat layerTakashi Iwai2005-08-30
| | | | | | | | PCM Midlevel Fixed the handling of boundary in PCM 32bit compat layer. Positions in hwsync are bound in the 32bit boundary size. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl3sa2 - use different name for PnP BIOS driverJaroslav Kysela2005-08-30
| | | | | | | | OPL3SA2 driver - use different name (opl3sa2-pnpbios) for PnP BIOS driver - don't print warning when manual config of resources fails (PnP BIOS) Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97: make patch_wolfson_wm97??_specific() functions staticClemens Ladisch2005-08-30
| | | | | | | | AC97 Codec Make the patch_wolfson_wm97??_specific() functions static again. This patch was accidentally reverted in rev. 1.92. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use vmalloc for the PCM bufferClemens Ladisch2005-08-30
| | | | | | | | | USB generic driver With the double buffering, we no longer need contiguous memory for the PCM buffer, so we can use vmalloc() instead of the preallocation functions, and increase the maximum size to 256 KB. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use usb_buffer_alloc/freeClemens Ladisch2005-08-30
| | | | | | | | USB generic driver Use the USB buffer allocation functions to avoid repeated DMA mappings of our buffers, which are re-used quite a lot. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: properly lock hwptr_done accessesClemens Ladisch2005-08-30
| | | | | | | | USB generic driver Take the substream lock when reading hwptr_done to avoid a race condition with the updates in the URB callbacks. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: actually schedule playback URBs at frame boundariesClemens Ladisch2005-08-30
| | | | | | | | USB generic driver Change prepare_playback_urb() not to stop preparing packets before a frame boundary has been reached. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: double-buffer all playback dataClemens Ladisch2005-08-30
| | | | | | | | | | | | | | | USB generic driver We always had to use double buffering when capturing, and when playback data for one URB crosses a buffer boundary. The latter would make hwptr updates less precise because the double-buffered data is read from the buffer much earlier than the other data is read by the host controller. Double-buffering all data allows to update hwptr immediately after the data was copied to the USB buffer(s), which has the additional benefit of avoiding the latency imposed by the host controller's delay of up to one frame when interrupting. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: optimize handling of capture URBsClemens Ladisch2005-08-30
| | | | | | | | | | | | | | USB generic driver When preparing capture URBs, we don't need to stop when we cross a period boundary because we now never handle more than one millisecond of data per URB anyway. When handling captured data, use an extra flag to call snd_pcm_period_elapsed() no more than once. This allows us to move the period boundary checking code before the copying of the data which avoids a second locking of the substream's lock. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add new card ID. Fixes ALSA bug #1297James Courtier-Dutton2005-08-30
| | | | | | EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add new ID. Fixes ALSA bug #1298James Courtier-Dutton2005-08-30
| | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] opl3sa2 - fixed typo in PnP BIOS IDs (YMF0021 -> YMH0021)Jaroslav Kysela2005-08-30
| | | | | | OPL3SA2 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] opl3sa2 driver - added support for PnP BIOS devicesJaroslav Kysela2005-08-30
| | | | | | | | | | | OPL3SA2 driver The driver has been extended to support also PnP BIOS devices. The detection path is: 1) detect PnP BIOS devices 2) detect ISA PnP devices Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Add DXS entry for MSI K8MM-VTakashi Iwai2005-08-30
| | | | | | | | 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] Add VT1617A codec supportPhilip Prindeville2005-08-30
| | | | | | | AC97 Codec Added (minimal) support of VT1617A codec with SPDIF. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Add SiS966 supportTakashi Iwai2005-08-30
| | | | | | | HDA Intel driver Added SiS966 pci id to snd-hda-intel driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: schedule high speed URBs with 1 ms alignmentClemens Ladisch2005-08-30
| | | | | | | | | USB generic driver The EHCI driver doesn't interrupt more than once per millisecond, and organizes all iso transfers with frame-sized ITDs, so we can (try to) be more efficient by aligning all URBs on frame boundaries. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: make nrpacks parameter writeableClemens Ladisch2005-08-30
| | | | | | | | USB generic driver The nrpacks module parameter is used only when initializing a playback stream, so it doesn't hurt to make it writeable. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: fix packets per URB calculation for playbackClemens Ladisch2005-08-30
| | | | | | | | | | USB generic driver When determining how many packets are needed for one period, we cannot assume that all packets have their maximum size -- we always use the nominal sample rate when sending data, and could use an even lower rate when the endpoint uses frequency feedback. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use 1 ms URBs when capturingClemens Ladisch2005-08-30
| | | | | | | | | | | | | USB generic driver When capturing audio data, we do not know beforehand how many samples the device sends per frame, so we have to use URBs that are as short as possible to make sure that we can handle period boundaries without any additional latencies. Furthermore, the total count of URBs submitted doesn't matter when capturing, so we can just use the maximum number. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] make local objects staticClemens Ladisch2005-08-30
| | | | | | | | Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec ALI5451 driver,RME9652 driver Make some functions/variables that are used in only one file static. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-codec - support for Si3054/5 HDA modemsSasha Khapyorsky2005-08-30
| | | | | | | | HDA generic driver,HDA Codec driver Support for Si3054/5 HDA modem codecs. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA CVS updateSasha Khapyorsky2005-08-30
| | | | | | | | | | | HDA Codec driver,HDA generic driver Summar: hda-codec - MFG support This adds Modem Functional Group (MFG) support and option for 9600 sample rate. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ALSA's struct _snd_pcm_substream: Obsolete open_flagKarsten Wiese2005-08-30
| | | | | | | | | | PCM Midlevel,ALSA<-OSS emulation,USB USX2Y This patch removes open_flag from struct _snd_pcm_substream. All of its uses are substituted by querying struct _snd_pcm_substream's member ffile instead. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>