platform/kernel/linux-rpi.git
18 years ago[ALSA] Remove xxx_t typedefs: PCI HDSP-MADI
Takashi Iwai [Thu, 17 Nov 2005 13:52:34 +0000 (14:52 +0100)]
[ALSA] Remove xxx_t typedefs: PCI HDSP-MADI

Modules: HDSPM driver,RME9652 driver

Remove xxx_t typedefs from the PCI HDSP-MADI driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCI HDSP
Takashi Iwai [Thu, 17 Nov 2005 13:52:13 +0000 (14:52 +0100)]
[ALSA] Remove xxx_t typedefs: PCI HDSP

Modules: RME HDSP driver

Remove xxx_t typedefs from the PCI HDSP driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCI emu10k1x
Takashi Iwai [Thu, 17 Nov 2005 13:50:31 +0000 (14:50 +0100)]
[ALSA] Remove xxx_t typedefs: PCI emu10k1x

Modules: EMU10K1/EMU10K2 driver

Remove xxx_t typedefs from the PCI emu10k1x driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCI emu10k1
Takashi Iwai [Thu, 17 Nov 2005 13:50:13 +0000 (14:50 +0100)]
[ALSA] Remove xxx_t typedefs: PCI emu10k1

Modules: EMU10K1/EMU10K2 driver

Remove xxx_t typedefs from the PCI emu10k1 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCI CS46xx
Takashi Iwai [Thu, 17 Nov 2005 13:48:14 +0000 (14:48 +0100)]
[ALSA] Remove xxx_t typedefs: PCI CS46xx

Modules: CS46xx driver

Remove xxx_t typedefs from the PCI CS46xx driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: VXdriver
Takashi Iwai [Thu, 17 Nov 2005 13:46:59 +0000 (14:46 +0100)]
[ALSA] Remove xxx_t typedefs: VXdriver

Remove xxx_t typedefs from the VXdriver codes
(vx_core support, vx222 and vxpocket).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: AK4531 codec
Takashi Iwai [Thu, 17 Nov 2005 13:44:47 +0000 (14:44 +0100)]
[ALSA] Remove xxx_t typedefs: AK4531 codec

Modules: AK4531 codec

Remove xxx_t typedefs from the AK4531 codec support code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA SB/AD-clone
Takashi Iwai [Thu, 17 Nov 2005 13:42:36 +0000 (14:42 +0100)]
[ALSA] Remove xxx_t typedefs: ISA SB/AD-clone

Modules: ALS100 driver,AZT2320 driver,DT019x driver,Sound Galaxy driver

Remove xxx_t typedefs from the ISA SB/AD-clone drivers
(als100, azt2320, dt019x, sgalaxy).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA SoundScape
Takashi Iwai [Thu, 17 Nov 2005 13:42:05 +0000 (14:42 +0100)]
[ALSA] Remove xxx_t typedefs: ISA SoundScape

Modules: Sound Scape driver

Remove xxx_t typedefs from the ISA SoundScape driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA OPL3SA2
Takashi Iwai [Thu, 17 Nov 2005 13:41:45 +0000 (14:41 +0100)]
[ALSA] Remove xxx_t typedefs: ISA OPL3SA2

Modules: OPL3SA2 driver

Remove xxx_t typedefs from the ISA OPL3SA2 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA ES18xx
Takashi Iwai [Thu, 17 Nov 2005 13:41:22 +0000 (14:41 +0100)]
[ALSA] Remove xxx_t typedefs: ISA ES18xx

Modules: ES18xx driver

Remove xxx_t typedefs from the ISA ES18xx driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA CMI8330
Takashi Iwai [Thu, 17 Nov 2005 13:41:02 +0000 (14:41 +0100)]
[ALSA] Remove xxx_t typedefs: ISA CMI8330

Modules: CMI8330 driver

Remove xxx_t typedefs from the ISA CMI8330 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA Wavefront
Takashi Iwai [Thu, 17 Nov 2005 13:39:06 +0000 (14:39 +0100)]
[ALSA] Remove xxx_t typedefs: ISA Wavefront

Modules: Wavefront drivers

Remove xxx_t typedefs from the ISA Wavefront driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA Opti9xx
Takashi Iwai [Thu, 17 Nov 2005 13:37:56 +0000 (14:37 +0100)]
[ALSA] Remove xxx_t typedefs: ISA Opti9xx

Modules: Opti9xx drivers

Remove xxx_t typedefs from the ISA Opti 9xx drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA GUS
Takashi Iwai [Thu, 17 Nov 2005 13:36:44 +0000 (14:36 +0100)]
[ALSA] Remove xxx_t typedefs: ISA GUS

Remove xxx_t typedefs from the ISA GUS drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE
Takashi Iwai [Thu, 17 Nov 2005 13:34:36 +0000 (14:34 +0100)]
[ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE

Remove xxx_t typedefs from the ISA SB8/SB16/SBAWE drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA ES1688
Takashi Iwai [Thu, 17 Nov 2005 13:31:42 +0000 (14:31 +0100)]
[ALSA] Remove xxx_t typedefs: ISA ES1688

Modules: ES1688 driver

Remove xxx_t typedefs from the ISA ES1688 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA CS423x
Takashi Iwai [Thu, 17 Nov 2005 13:30:42 +0000 (14:30 +0100)]
[ALSA] Remove xxx_t typedefs: ISA CS423x

Modules: CS4231 driver,CS4236+ driver

Remove xxx_t typedefs from the ISA CS423x drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA AD1848
Takashi Iwai [Thu, 17 Nov 2005 13:29:37 +0000 (14:29 +0100)]
[ALSA] Remove xxx_t typedefs: ISA AD1848

Modules: AD1848 driver

Remove xxx_t typedefs from the ISA AD1848 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: ISA AD1816A
Takashi Iwai [Thu, 17 Nov 2005 13:28:35 +0000 (14:28 +0100)]
[ALSA] Remove xxx_t typedefs: ISA AD1816A

Modules: AD1816A driver

Remove xxx_t typedefs from the ISA AD1816A driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Generic drivers
Takashi Iwai [Thu, 17 Nov 2005 13:27:28 +0000 (14:27 +0100)]
[ALSA] Remove xxx_t typedefs: Generic drivers

Modules: Generic drivers

Remove xxx_t typedefs from the generic drivers
(dummy, mtpav, serial-u16550 and virmidi).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Emu-X synth
Takashi Iwai [Thu, 17 Nov 2005 13:24:47 +0000 (14:24 +0100)]
[ALSA] Remove xxx_t typedefs: Emu-X synth

Modules: Common EMU synth,SoundFont,Synth

Remove xxx_t typedefs from the Emu-X synth support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: AC97
Takashi Iwai [Thu, 17 Nov 2005 13:21:36 +0000 (14:21 +0100)]
[ALSA] Remove xxx_t typedefs: AC97

Modules: AC97 Codec

Remove xxx_t typedefs from the AC97 codec support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: I2C drivers
Takashi Iwai [Thu, 17 Nov 2005 13:19:28 +0000 (14:19 +0100)]
[ALSA] Remove xxx_t typedefs: I2C drivers

Modules: AK4114 receiver,AK4117 receiver,AK4XXX AD/DA converters

[Missing files in last commit]
Remove xxx_t typedefs from the i2c drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: I2C drivers
Takashi Iwai [Thu, 17 Nov 2005 13:17:19 +0000 (14:17 +0100)]
[ALSA] Remove xxx_t typedefs: I2C drivers

Remove xxx_t typedefs from the i2c drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: OPL4
Takashi Iwai [Thu, 17 Nov 2005 13:13:47 +0000 (14:13 +0100)]
[ALSA] Remove xxx_t typedefs: OPL4

Modules: OPL4

Remove xxx_t typedefs from the OPL4 driver

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: OPL3
Takashi Iwai [Thu, 17 Nov 2005 13:13:14 +0000 (14:13 +0100)]
[ALSA] Remove xxx_t typedefs: OPL3

Modules: OPL3,Raw OPL FM

Remove xxx_t typedefs from the OPL3 driver

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: MPU401
Takashi Iwai [Thu, 17 Nov 2005 13:12:45 +0000 (14:12 +0100)]
[ALSA] Remove xxx_t typedefs: MPU401

Modules: MPU401 UART

Remove xxx_t typedefs from the MPU401-UART and MPU401 drivers

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Backward-compatibility typedefs
Takashi Iwai [Thu, 17 Nov 2005 13:08:02 +0000 (14:08 +0100)]
[ALSA] Backward-compatibility typedefs

Modules: ALSA Core

Backward-compatibility typedefs are stored in the new header, typedefs.h,
for out-of-tree drivers.  This will be removed in future.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation
Takashi Iwai [Thu, 17 Nov 2005 13:05:16 +0000 (14:05 +0100)]
[ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation

Modules: ALSA<-OSS sequencer,ALSA sequencer

Remove xxx_t typedefs from the core sequencer OSS-emulation codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Instrument layer
Takashi Iwai [Thu, 17 Nov 2005 13:04:44 +0000 (14:04 +0100)]
[ALSA] Remove xxx_t typedefs: Instrument layer

Modules: Instrument layer

Remove xxx_t typedefs from the core instrument layer codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Sequencer
Takashi Iwai [Thu, 17 Nov 2005 13:04:02 +0000 (14:04 +0100)]
[ALSA] Remove xxx_t typedefs: Sequencer

Modules: ALSA sequencer

Remove xxx_t typedefs from the core sequencer codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCM OSS-emulation
Takashi Iwai [Thu, 17 Nov 2005 13:01:49 +0000 (14:01 +0100)]
[ALSA] Remove xxx_t typedefs: PCM OSS-emulation

Modules: ALSA<-OSS emulation

Remove xxx_t typedefs from the core PCM OSS-emulation codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Mixer OSS-emulation
Takashi Iwai [Thu, 17 Nov 2005 13:01:22 +0000 (14:01 +0100)]
[ALSA] Remove xxx_t typedefs: Mixer OSS-emulation

Modules: ALSA<-OSS emulation

Remove xxx_t typedefs from the core mixer OSS-emulation codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: OSS-emulation
Takashi Iwai [Thu, 17 Nov 2005 13:00:19 +0000 (14:00 +0100)]
[ALSA] Remove xxx_t typedefs: OSS-emulation

Modules: ALSA Core

Remove xxx_t typedefs from the core OSS-emulation codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: PCM
Takashi Iwai [Thu, 17 Nov 2005 12:59:38 +0000 (13:59 +0100)]
[ALSA] Remove xxx_t typedefs: PCM

Modules: PCM Midlevel

Remove xxx_t typedefs from the core PCM codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Proc handler
Takashi Iwai [Thu, 17 Nov 2005 12:58:48 +0000 (13:58 +0100)]
[ALSA] Remove xxx_t typedefs: Proc handler

Modules: ALSA Core

Remove xxx_t typedefs from the core proc handler codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Hwdep
Takashi Iwai [Thu, 17 Nov 2005 12:58:21 +0000 (13:58 +0100)]
[ALSA] Remove xxx_t typedefs: Hwdep

Modules: HWDEP Midlevel

Remove xxx_t typedefs from the core hwdep codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Raw MIDI
Takashi Iwai [Thu, 17 Nov 2005 12:56:51 +0000 (13:56 +0100)]
[ALSA] Remove xxx_t typedefs: Raw MIDI

Modules: RawMidi Midlevel

Remove xxx_t typedefs from the core raw MIDI codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Timer
Takashi Iwai [Thu, 17 Nov 2005 12:56:05 +0000 (13:56 +0100)]
[ALSA] Remove xxx_t typedefs: Timer

Modules: RTC timer driver,Timer Midlevel

Remove xxx_t typedefs from the core timer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Controls
Takashi Iwai [Thu, 17 Nov 2005 12:53:23 +0000 (13:53 +0100)]
[ALSA] Remove xxx_t typedefs: Controls

Modules: Control Midlevel

Remove xxx_t typedefs from the core controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove xxx_t typedefs: Core component
Takashi Iwai [Thu, 17 Nov 2005 12:51:18 +0000 (13:51 +0100)]
[ALSA] Remove xxx_t typedefs: Core component

Modules: ALSA Core

Remove xxx_t typedefs from the core component.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] nm256 - Code clean up
Takashi Iwai [Thu, 17 Nov 2005 10:12:06 +0000 (11:12 +0100)]
[ALSA] nm256 - Code clean up

Modules: NM256 driver

Clean up snd-nm256 driver code:

- Simplify chip constructor function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix assignment of speaker pin
Takashi Iwai [Thu, 17 Nov 2005 10:09:23 +0000 (11:09 +0100)]
[ALSA] hda-codec - Fix assignment of speaker pin

Modules: HDA Codec driver,HDA generic driver

Fix the auto-assignment of speaker pin.  Handle it independently from
line-out pins.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix a typo
Takashi Iwai [Thu, 17 Nov 2005 10:08:23 +0000 (11:08 +0100)]
[ALSA] hda-codec - Fix a typo

Modules: HDA Codec driver

Fix a typo in hda_codec.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Prepare unsol workqueue on demand
Takashi Iwai [Thu, 17 Nov 2005 10:07:49 +0000 (11:07 +0100)]
[ALSA] hda-codec - Prepare unsol workqueue on demand

Modules: HDA Codec driver

Prepare unsol workqueue only when a codec really supports.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add channel-mode helper
Takashi Iwai [Thu, 17 Nov 2005 10:06:29 +0000 (11:06 +0100)]
[ALSA] hda-codec - Add channel-mode helper

Modules: HDA Codec driver,HDA generic driver

Add common channel-mode helper functions for all codec patches.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Small update of Procfile.txt
Takashi Iwai [Thu, 17 Nov 2005 10:05:34 +0000 (11:05 +0100)]
[ALSA] Small update of Procfile.txt

Modules: Documentation

Small update of Procfile.txt for hda and usb proc files.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] [Trivial] Fix ac97_quirk option in document
Takashi Iwai [Thu, 17 Nov 2005 10:04:55 +0000 (11:04 +0100)]
[ALSA] [Trivial] Fix ac97_quirk option in document

Modules: Documentation

Fix a wrong option value for ac97_quirk option in the document.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ALS4000 update
Andreas Mohr [Thu, 17 Nov 2005 10:03:31 +0000 (11:03 +0100)]
[ALSA] ALS4000 update

Modules: SB drivers,ALS4000 driver

some update for the ALS4000 driver (tested with hardware in my PC):

- use common control names according to ControlNames.txt
- add some controls (Master Mono, 3D control)
- optimize struct snd_card_als4000_t layout (performance/size)
- save some bytes via unified error path
- constify some read-only data
- add ToDo list
- move GPL license text to top
- add comments

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emux - Avoid cast of function pointers
Takashi Iwai [Thu, 17 Nov 2005 09:50:13 +0000 (10:50 +0100)]
[ALSA] emux - Avoid cast of function pointers

Modules: Common EMU synth

Pass the proper functions instead of cast of function pointers, which
can be dangerous with compiler optimizations.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] usx2y - Code clean up
Takashi Iwai [Thu, 17 Nov 2005 09:48:52 +0000 (10:48 +0100)]
[ALSA] usx2y - Code clean up

Modules: USB USX2Y

Clean up snd-usb-usx2y driver code:

- Avoid unnecessary cast
- Fix spaces/indents
- Use kzalloc()
- Remove weird debug prints

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] korg1212 - Clean up debug prints
Takashi Iwai [Thu, 17 Nov 2005 09:45:48 +0000 (10:45 +0100)]
[ALSA] korg1212 - Clean up debug prints

Modules: KORG1212 driver

Clean up debug prints in korg1212 driver.
Also, clean up spaces/indents in some places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1 - Minor clean up of memory block handling
Takashi Iwai [Thu, 17 Nov 2005 09:44:51 +0000 (10:44 +0100)]
[ALSA] emu10k1 - Minor clean up of memory block handling

Modules: EMU10K1/EMU10K2 driver

Minor clean up of emu10k1 memory block allocation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1x - Minor clean up
Takashi Iwai [Thu, 17 Nov 2005 09:43:53 +0000 (10:43 +0100)]
[ALSA] emu10k1x - Minor clean up

Modules: EMU10K1/EMU10K2 driver

Minor clean up of the emu10k1x interrupt handler code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97 - Remove ac9_enum definition from public header
Takashi Iwai [Thu, 17 Nov 2005 09:42:40 +0000 (10:42 +0100)]
[ALSA] ac97 - Remove ac9_enum definition from public header

Modules: AC97 Codec

Remove the definition of ac97_enum struct from the public ac97_codec.h.
It's used only in the module.

The location of struct ac97_pcm is moved closer to its accessor
to improve readability.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ca0106 - Code clean up
Takashi Iwai [Thu, 17 Nov 2005 09:40:18 +0000 (10:40 +0100)]
[ALSA] ca0106 - Code clean up

Modules: CA0106 driver

Clean up snd-ca0106 driver code:

- Fix spaces and indents
- Remove unnecessary spinlocks
- Clean up the mixer callbacks using private_value
- Clean up mixer constructors using an array

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] intel8x0 - Clean up delay function
Takashi Iwai [Thu, 17 Nov 2005 09:37:40 +0000 (10:37 +0100)]
[ALSA] intel8x0 - Clean up delay function

Modules: Intel8x0 driver,Intel8x0-modem driver

Remove superfluous delay macro.
Call appropriate functions directly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs4281 - Clean up delay function
Takashi Iwai [Thu, 17 Nov 2005 09:36:57 +0000 (10:36 +0100)]
[ALSA] cs4281 - Clean up delay function

Modules: CS4281 driver

Remove the own delay function.
Call appropriate functions directly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove superfluous macros
Takashi Iwai [Thu, 17 Nov 2005 09:35:53 +0000 (10:35 +0100)]
[ALSA] Remove superfluous macros

Modules: ATIIXP driver,ATIIXP-modem driver

Remove superfluous macros for delay.
Call appropriate functions directly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] harmony - Code clean up
Takashi Iwai [Thu, 17 Nov 2005 09:34:40 +0000 (10:34 +0100)]
[ALSA] harmony - Code clean up

Modules: PARISC Harmony driver

Clean up snd-harmony driver code:

- Give standard module options
- Fix spinlocks
- Fix the error path of request_irq()
- Clean up redundant codes

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] au1x00 - Code clean up
Takashi Iwai [Thu, 17 Nov 2005 09:32:43 +0000 (10:32 +0100)]
[ALSA] au1x00 - Code clean up

Modules: MIPS AU1x00 driver

Clean up snd-au1x00 driver code:

- Remove global variables
- Remove old compatibility codes
- Fix DMA-link allocation/release functions in hw_params and hw_free
  callbacks (they may be called multiple times)
- Fix spinlocks

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up includes in asound.h & asequencer.h
Takashi Iwai [Thu, 17 Nov 2005 09:29:33 +0000 (10:29 +0100)]
[ALSA] Clean up includes in asound.h & asequencer.h

Modules: ALSA sequencer,ALSA Core

Clean up includes in asound.h and asequencer.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] [Trivial] Fix spaces in gus.h
Takashi Iwai [Thu, 17 Nov 2005 09:28:15 +0000 (10:28 +0100)]
[ALSA] [Trivial] Fix spaces in gus.h

Modules: GUS Library

Fix spaces in gus.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up ISA cs4231 code
Takashi Iwai [Thu, 17 Nov 2005 09:27:08 +0000 (10:27 +0100)]
[ALSA] Clean up ISA cs4231 code

Modules: CS4231 driver

Clean up ISA cs4231 code, removing experimental EBUS/SBUS merge,
to improve readability.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up sa11xx-uda1341 driver
Takashi Iwai [Thu, 17 Nov 2005 09:25:22 +0000 (10:25 +0100)]
[ALSA] Clean up sa11xx-uda1341 driver

Modules: SA11xx UDA1341 driver,L3 drivers,UDA1341

Clean up sa11xx-uda1341 driver:

- Fix buggy destructor
- Remove the global variable
- Move array definitions from uda1341.h
- Make functions in uda1341.c static

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove tea6330t struct definition from public header
Takashi Iwai [Thu, 17 Nov 2005 09:22:32 +0000 (10:22 +0100)]
[ALSA] Remove tea6330t struct definition from public header

Modules: I2C tea6330t

Remove tea6330t struct definition from public header.
It's anyway unaccessible from outside.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove snd_vx_delay() function
Takashi Iwai [Thu, 17 Nov 2005 09:21:19 +0000 (10:21 +0100)]
[ALSA] Remove snd_vx_delay() function

Replace snd_vx_delay() with appropriate delay/sleep functions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] snd-dummy - Code clean-up
Takashi Iwai [Thu, 17 Nov 2005 09:20:23 +0000 (10:20 +0100)]
[ALSA] snd-dummy - Code clean-up

Modules: Generic drivers

Clean up snd-dummy driver code.
- Make common PCM callbacks
- Simplify open callback
- Remove unnecessary irqsave in control callbacks

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Use standard bitmap functions
Takashi Iwai [Thu, 17 Nov 2005 09:18:00 +0000 (10:18 +0100)]
[ALSA] Use standard bitmap functions

Modules: ALSA<-OSS emulation

Use standard bitmap functions instead of in-house ones.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Sort Kconfig entries
Takashi Iwai [Thu, 17 Nov 2005 09:17:05 +0000 (10:17 +0100)]
[ALSA] Sort Kconfig entries

Modules: ISA,PCI drivers

Sort Kconfig entries in alphabetical order.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Minor clean up and fixes for CS5535 audio driver
Takashi Iwai [Thu, 17 Nov 2005 09:15:37 +0000 (10:15 +0100)]
[ALSA] Minor clean up and fixes for CS5535 audio driver

Modules: Documentation,CS5535 driver

Minor clean up and fixes for CS5535 audio driver.
Added an entry in ALSA-Configuration.txt, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add support for the CS5535 Audio device
Jaya Kumar [Thu, 17 Nov 2005 09:12:23 +0000 (10:12 +0100)]
[ALSA] Add support for the CS5535 Audio device

Add support for the CS5535 Audio device.  I've fixed up some errors as per
Takashi's advice from the thread:

http://lkml.org/lkml/2005/9/15/119

 From: Alan Cox <alan@lxorguk.ukuu.org.uk>

        cs5535 is a 32bit x86 only device using weird CPU features

Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove superfluous pcm_free callbacks
Takashi Iwai [Wed, 16 Nov 2005 17:43:35 +0000 (18:43 +0100)]
[ALSA] Remove superfluous pcm_free callbacks

Remove superflous pcm_free callbacks.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix missing suspend/resume-code for ens1371
Kurt J. Bosch [Wed, 16 Nov 2005 17:41:21 +0000 (18:41 +0100)]
[ALSA] Fix missing suspend/resume-code for ens1371

Modules: ENS1370/1+ driver

This patch fixes missing suspend/resume-code for snd-ens1371
(but not for snd-ens1370)

Signed-off-by: Kurt J. Bosch <kjb-temp-2005@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-M
Daniel Mueller [Mon, 14 Nov 2005 16:40:44 +0000 (17:40 +0100)]
[ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-M

Modules: HDA Codec driver

The patch fixes the problem of mute onboard HDA sound output,
buildin V.92 modem idendification and functionality.

Signed-off-by: Daniel Mueller <daniel.mueller@siemens.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97 - procfs - print PCI subsystem vendor/device values
Jaroslav Kysela [Mon, 14 Nov 2005 07:48:59 +0000 (08:48 +0100)]
[ALSA] ac97 - procfs - print PCI subsystem vendor/device values

Modules: AC97 Codec

For debugging and problem finding purposes, show also the PCI subsystem
vendor/device values in the ac97#X proc file.

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] snd-emu10k1: Found some new registers to display in debug mode.
James Courtier-Dutton [Fri, 11 Nov 2005 22:45:23 +0000 (23:45 +0100)]
[ALSA] snd-emu10k1: Found some new registers to display in debug mode.

Modules: EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] snd-emu10k1: Attenuate output volume to reduce distortion
James Courtier-Dutton [Fri, 11 Nov 2005 22:39:05 +0000 (23:39 +0100)]
[ALSA] snd-emu10k1: Attenuate output volume to reduce distortion

Modules: EMU10K1/EMU10K2 driver

                      on Audigy 2 ZS Notebook.

Set the master volume to about 6 or 8% in alsamixer. This will
attenuate the output enough for better sound quality.
Note: Only stereo enabled at present.
The distortion is caused by the output path after the DSP
adding 12dB gain to the output while still in digital mode,
resulting in wrap around distortion.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] ali5451 - Fix and clean up codec accessor
Takashi Iwai [Fri, 11 Nov 2005 20:05:27 +0000 (21:05 +0100)]
[ALSA] ali5451 - Fix and clean up codec accessor

Modules: ALI5451 driver

Fix the codec accessors to avoid soft lockup.
Spin locks are revised, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1724 (juli) - forced analog doughter board detection
Jaroslav Kysela [Thu, 10 Nov 2005 06:51:31 +0000 (07:51 +0100)]
[ALSA] ice1724 (juli) - forced analog doughter board detection

Modules: ICE1712 driver

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR
Takashi Iwai [Tue, 8 Nov 2005 16:44:37 +0000 (17:44 +0100)]
[ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR

Modules: VIA82xx driver

Added the dxs entry for MSI KT800 Delta-FSR.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add support for Audigy 2 subsystem 2006
Lee Revell [Mon, 7 Nov 2005 13:59:19 +0000 (14:59 +0100)]
[ALSA] Add support for Audigy 2 subsystem 2006

Modules: EMU10K1/EMU10K2 driver

Add support for Audigy 2 subsystem 2006.

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1 - Enable side surround channels for Audigy2 EX
Lee Revell [Mon, 7 Nov 2005 13:54:24 +0000 (14:54 +0100)]
[ALSA] emu10k1 - Enable side surround channels for Audigy2 EX

Modules: EMU10K1/EMU10K2 driver

Enable side surround channels for Audigy2 EX.  Tested by Rick Wright
<riwright@vt.edu>.

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sound/hda: rate-limit timeout message
Randy Dunlap [Mon, 7 Nov 2005 13:43:23 +0000 (14:43 +0100)]
[ALSA] sound/hda: rate-limit timeout message

Modules: HDA Intel driver

Rate-limit the azx_get_response timeout message.  A continuous 2 per second
is too much.

Signed-off-by: Randy Dunlap <randy_d_dunlap@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Allocate amp hash array dynamically
Takashi Iwai [Mon, 7 Nov 2005 13:38:44 +0000 (14:38 +0100)]
[ALSA] hda-codec - Allocate amp hash array dynamically

Modules: HDA Codec driver

Allocate amp hash array dynamically instead of static array.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years agoLinux v2.6.15
Linus Torvalds [Tue, 3 Jan 2006 03:21:10 +0000 (19:21 -0800)]
Linux v2.6.15

Hey, it's fifteen years today since I bought the machine that got Linux
started.  January 2nd is a good date.

18 years ago[PATCH] Make sure interleave masks have at least one node set
Andi Kleen [Mon, 2 Jan 2006 23:07:28 +0000 (00:07 +0100)]
[PATCH] Make sure interleave masks have at least one node set

Otherwise a bad mem policy system call can confuse the interleaving
code into referencing undefined nodes.

Originally reported by Doug Chapman

I was told it's CVE-2005-3358
(one has to love these security people - they make everything sound important)

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Avoid namespace pollution in <asm/param.h>
Dag-Erling Smørgrav [Mon, 2 Jan 2006 14:57:06 +0000 (15:57 +0100)]
[PATCH] Avoid namespace pollution in <asm/param.h>

In commit 3D59121003721a8fad11ee72e646fd9d3076b5679c, the x86 and x86-64
<asm/param.h> was changed to include <linux/config.h> for the
configurable timer frequency.

However, asm/param.h is sometimes used in userland (it is included
indirectly from <sys/param.h>), so your commit pollutes the userland
namespace with tons of CONFIG_FOO macros.  This greatly confuses
software packages (such as BusyBox) which use CONFIG_FOO macros
themselves to control the inclusion of optional features.

After a short exchange, Christoph approved this patch

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] powerpc: more g5 overtemp problem fix
Benjamin Herrenschmidt [Mon, 2 Jan 2006 02:04:44 +0000 (13:04 +1100)]
[PATCH] powerpc: more g5 overtemp problem fix

Some G5s still occasionally experience shutdowns due to overtemp
conditions despite the recent fix. After analyzing logs from such
machines, it appears that the overtemp code is a bit too quick at
shutting the machine down when reaching the critical temperature (tmax +
8) and doesn't leave the fan enough time to actually cool it down. This
happens if the temperature of a CPU suddenly rises too high in a very
short period of time, or occasionally on boot (that is the CPUs are
already overtemp by the time the driver loads).

This patches makes the code a bit more relaxed, leaving a few seconds to
the fans to do their job before kicking the machine shutown.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] x86: teach dump_task_regs() about the -8 offset.
Stas Sergeev [Sun, 1 Jan 2006 01:18:52 +0000 (04:18 +0300)]
[PATCH] x86: teach dump_task_regs() about the -8 offset.

This should fix multi-threaded core-files

Signed-off-by: stsp@aknet.ru
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agosysctl: make sure to terminate strings with a NUL
Linus Torvalds [Sun, 1 Jan 2006 01:00:29 +0000 (17:00 -0800)]
sysctl: make sure to terminate strings with a NUL

This is a slightly more complete fix for the previous minimal sysctl
string fix.  It always terminates the returned string with a NUL, even
if the full result wouldn't fit in the user-supplied buffer.

The returned length is the full untruncated length, so that you can
tell when truncation has occurred.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Sat, 31 Dec 2005 21:49:26 +0000 (13:49 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-serial

18 years ago[PATCH] Fix false old value return of sysctl
Yi Yang [Fri, 30 Dec 2005 08:37:10 +0000 (16:37 +0800)]
[PATCH] Fix false old value return of sysctl

For the sysctl syscall, if the user wants to get the old value of a
sysctl entry and set a new value for it in the same syscall, the old
value is always overwritten by the new value if the sysctl entry is of
string type and if the user sets its strategy to sysctl_string.  This
issue lies in the strategy being run twice if the strategy is set to
sysctl_string, the general strategy sysctl_string always returns 0 if
success.

Such strategy routines as sysctl_jiffies and sysctl_jiffies_ms return 1
because they do read and write for the sysctl entry.

The strategy routine sysctl_string return 0 although it actually read
and write the sysctl entry.

According to my analysis, if a strategy routine do read and write, it
should return 1, if it just does some necessary check but not read and
write, it should return 0, for example sysctl_intvec.

Signed-off-by: Yi Yang <yang.y.yi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agosysctl: don't overflow the user-supplied buffer with '\0'
Linus Torvalds [Sat, 31 Dec 2005 01:18:53 +0000 (17:18 -0800)]
sysctl: don't overflow the user-supplied buffer with '\0'

If the string was too long to fit in the user-supplied buffer,
the sysctl layer would zero-terminate it by writing past the
end of the buffer. Don't do that.

Noticed by Yi Yang <yang.y.yi@gmail.com>

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoInsanity avoidance in /proc
Linus Torvalds [Fri, 30 Dec 2005 16:39:10 +0000 (08:39 -0800)]
Insanity avoidance in /proc

The old /proc interfaces were never updated to use loff_t, and are just
generally broken.  Now, we should be using the seq_file interface for
all of the proc files, but converting the legacy functions is more work
than most people care for and has little upside..

But at least we can make the non-LFS rules explicit, rather than just
insanely wrapping the offset or something.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Input: wacom - fix X axis setup
Denny Priebe [Fri, 30 Dec 2005 03:19:09 +0000 (22:19 -0500)]
[PATCH] Input: wacom - fix X axis setup

This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Input: warrior - fix HAT0Y axis setup
Dmitry Torokhov [Fri, 30 Dec 2005 03:19:08 +0000 (22:19 -0500)]
[PATCH] Input: warrior - fix HAT0Y axis setup

This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Input: kbtab - fix Y axis setup
Dmitry Torokhov [Fri, 30 Dec 2005 03:19:07 +0000 (22:19 -0500)]
[PATCH] Input: kbtab - fix Y axis setup

This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[ARM] 3216/1: indent and typo in drivers/serial/pxa.c
Erik Hovland [Fri, 30 Dec 2005 15:57:35 +0000 (15:57 +0000)]
[ARM] 3216/1: indent and typo in drivers/serial/pxa.c

Patch from Erik Hovland

This patch provides two changes. An indent is supplied for an if/else clause so that it is more readable. An acronym is incorrectly typed as UER when it should be IER.

Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>