Changes v1.0.18rc3 v1.0.18

From AlsaProject

Jump to: navigation, search

Contents

[edit] Changelog between 1.0.18rc3 and 1.0.18 releases

[edit] alsa-driver

[edit] Sound Core

Add kstrndup() wrapper
Mark CONFIG_SND_JACK as 2.6.27 or later
Add pci_ioremap_bar() check and wrapper
Add check of video_drvdata()
x86 mach: test for mach_apic.h to skip empty directories
Fix build for old 2.4 kernels
Release v1.0.18

[edit] ALSA Core

Add kstrndup() wrapper
add print_hex_dump_bytes() wrapper
Fix patches for device_create() updates
Add pci_ioremap_bar() check and wrapper
Add check of video_drvdata()
Add fmode_t definition for older kernels
Fix build for old 2.4 kernels
ALSA: Remove bitwise from snd_pcm_hw_param_t
ALSA: Increase components array size
ALSA: Add a note on dependency of RTC stuff
alsa: Remove special SBUS dma support code.
device create: sound: convert device_create_drvdata to device_create
ALSA: Print function symbol in the error messages

[edit] SoC PXA2xx Core

sound: ASoC: Support runtime selection of CPU in pxa2xx-i2s
ALSA: Separate common pxa2xx-ac97 code
ALSA: Separate common pxa2xx-pcm code
pxa: move I2S register and bit definitions into pxa2xx-i2s.c
[ARM] pxa: simplify DMA register definitions

[edit] Jack Input Event Midlevel

Add missing jack.c build stub
jack - fix build with older kernels
Fix jack.c compilation - missing SW_LINEOUT_INSERT
ALSA: Handle NULL jacks in snd_jack_report()
ALSA: jack: lineout support to jack abstraction layer
ALSA: hda: dynamic jack id

[edit] PCM Midlevel

ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*()
ALSA: remove unneeded power_mutex lock in snd_pcm_drop
ALSA: kernel docs: fix sound/core/ kernel-doc
sound: add missing pcm kernel-doc

[edit] RawMidi Midlevel

ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*()

[edit] /arm/Makefile

ALSA: Separate common pxa2xx-ac97 code
ALSA: Separate common pxa2xx-pcm code

[edit] /soc/codecs/Makefile

sound: ASoC: Add WM8971 CODEC driver
ALSA: ASoC codec: AD73311 audio codec driver
ALSA: ASoC: Add TLV320AIC23 codec driver

[edit] AC97 Codec

ALSA: ASoC: update email address for Liam Girdwood
ALSA: Enable SPDIF output on ALC655

[edit] AD1889 driver

sound: pci: use pci_ioremap_bar() in sound/

[edit] ALSA Version

ALSA: Release v1.0.18

[edit] ALSA<-OSS emulation

[PATCH] introduce fmode_t, do annotations

[edit] ARM

ALSA: Separate common pxa2xx-ac97 code
ALSA: Separate common pxa2xx-pcm code

[edit] ARM PXA2XX driver

ALSA: Separate common pxa2xx-ac97 code
ALSA: pxa2xx-ac97-lib: support building for several CPUs
ALSA: Separate common pxa2xx-pcm code
[ARM] pxa: simplify DMA register definitions
ALSA: Fix pxa2xx-ac97-lib.c compilation
ALSA: Ensure PXA runtime data is initialised

[edit] ATIIXP driver

sound: pci: use pci_ioremap_bar() in sound/

[edit] ATIIXP-modem driver

sound: pci: use pci_ioremap_bar() in sound/

[edit] Apple Onboard Audio driver

aoa - Rename aoa/codec/*.c files
aoa - Rename more files
powerpc/drivers: Use linux/of_device.h instead of asm/of_device.h
ALSA: aoa i2sbus: don't overwrite module parameter
ALSA: aoa: clean up file names

[edit] Asihpi driver

asihpi - Fix printk compile warning

[edit] CA0106 driver

ALSA: misc typo fixes

[edit] CMI8788 (Oxygen) driver

ALSA: oxygen: use SPDIF channel status symbols
ALSA: oxygen: use a copy of the model struct
ALSA: oxygen: add probe callback
ALSA: oxygen: remove X-Meridian magic number
ALSA: oxygen: handle X-Meridian dynamically
ALSA: virtuoso: handle D2X/DX dynamically
ALSA: virtuoso: create common functions for GPIO bit switch controls
ALSA: oxygen: rename pcm_dev_cfg
ALSA: oxygen: configure MIDI via device_config
ALSA: oxygen: add UART I/O functions
ALSA: oxygen: add self-documenting functions
ALSA: virtuoso: allow I2C-connected PCM1796
ALSA: virtuoso: make number of PCM1796 DACs configurable
ALSA: virtuoso: rename AC97 callback function
ALSA: oxygen: rename first PCM device
ALSA: virtuoso: add Xonar HDAV1.3 support
ALSA: oxygen: wait for ACK when resetting UART

[edit] CS46xx driver

ALSA: cs46xx: Add PCI IDs for TerraTec and Hercules cards

[edit] CS5530 Cyrix/NatSemi VSA1 softaudio init

sound: use a common working email address

[edit] Documentation

ALSA: virtuoso: add Xonar HDAV1.3 support
alsa: Remove special SBUS dma support code.
Documentation: fix the now deprecated reference to {set,reset}_scoop_gpio

[edit] Dreamcast AICA sound (pcm) driver

ALSA: Fix section for snd-aica platform driver

[edit] EMU10K1/EMU10K2 driver

Regenerate emu10k1_main.patch
Fix emu10k1_main.patch
ALSA: emu10k1: fix device names for Live!/Audigy1/2/4/E-mu
ALSA: emu10k1: fix faulty commit 18c71092
ALSA: emu10k1: fix coding style for emu10k1_main.c

[edit] Generic drivers

pcsp - Add a wrapper for hrtimer_get_expires()
ALSA: mtpav - Fix race in probe
ALSA: misc typo fixes
ALSA: pcsp - Fix locking messes in snd-pcsp
hrtimer: convert sound/ to the new hrtimer apis

[edit] HDA Codec driver

Add pci/hda/patch_nvhdmi.c build stub
ALSA: hda: fix oopses in snd-hda-intel after digital slave support additions
ALSA: hda: Added a STAC_HP_M4 quirk
ALSA: hda: Input port AMP controls
ALSA: hda: fixed hp_nid DAC for DELL_M6
ALSA: hda: 92hd73xx fixes
ALSA: HDA: patch_analog: Fix SPDIF output on AD1989B
ALSA: HDA: patch_analog: Implement multiple outputs for AD1988
ALSA: HDA: patch_analog: Quirk for Asus P5Q Premium/Pro boards.
ALSA: HDA VIA: Fix crash on codecs without Headphone
ALSA: HDA VIA: Fix 2nd S/PDIF out function
ALSA: HDA VIA: Replace buggy Mic Boost
ALSA: hda: SPDIF mux fixes for STAC927x
ALSA: hda - Add PCI subsystem ID for MacBookPro4,1
ALSA: hda - Fix ALC662 DAC mixer mutes also for auto config model
ALSA: hda - Fix model for Dell Inspiron 1525
ALSA: hda: use last DAC defined for hp_pin
ALSA: hda: slave_dig_outs code block in wrong location
ALSA: hda - Fix / clean-up slave digital out codes
ALSA: Support NVIDIA MCP78/7A HDMI audio
ALSA: hda: 92xx S/PDIF In support
ALSA: hda: HP laptop quirk
ALSA: hda - Map ALC662 model for Gigabyte 945GCM-S2L
ALSA: hda - Map ALC662 model for Foxconn 45CMX/45GMX/45CMX-K
ALSA: hda: appletv support
ALSA: hda: SPDIF stream muting support
ALSA: hda: add more board-specific information for Realtek ALC662 rev1
ALSA: hda - Fix another ALC889A (rev 0x100101)
ALSA: hda - Fix PCI SSID for ASROCK K18N78FullHD-hSLI
ALSA: hda: comment typo fix
ALSA: hda: comment typo fix
ALSA: hda: STAC_HP_M4
ALSA: hda: VREF powerdown for headphones
ALSA: hda: add mixers for analog mixer on 92hd75xx codecs
ALSA: hda: corrected invalid mixer values
ALSA: hda: fix nid variable warning
ALSA: hda - Add auto mic switch in realtek auto-probe mode
ALSA: hda - Fix PCI SSID of ASUS M90V
ALSA: hda - Add ALC1200 support
ALSA: hda - Add ALC887 support
ALSA: hda - Add support of ALC272
ALSA: hda - Fix quirk lists for realtek codecs
ALSA: hda - Fix PCM type of Nvidia HDMI devices
ALSA: hda - Add infrastructure for dynamic stream allocation
ALSA: hda - Add generic arrays
ALSA: hda - Use generic array helpers
ALSA: hda - Allocate name string of each codec
ALSA: hda - Manage kcontrol lists
ALSA: hda - Add codec reconfiguration feature
ALSA: hda - Add sysfs entries to hwdep devices
ALSA: hda - Add init_verbs entries
ALSA: hda - Add hints for reconfig
ALSA: hda: add support for jack detection on IDT/Sigmatel
ALSA: hda - Release jack instance for dynamic reconfigure
ALSA: hda - Fix conflicting volume controls on ALC260
ALSA: hda - correct bracketing in spdif test in patch_sigmatel.c
ALSA: hda: add snd_hda_get_jack* functions
ALSA: hda: add support for jack detection on IDT codecs.

[edit] HDA Intel driver

ALSA: Fix for reading RIRB buffer on NVIDIA aza controller with AMD Phenom cpu
ALSA: hda - Add infrastructure for dynamic stream allocation

[edit] HDA generic driver

ALSA: hda: Input port AMP controls
ALSA: HDA: hda_local: Less magic numbers.
ALSA: HDA: hda_proc: Fix printf format specifier
ALSA: Support NVIDIA MCP78/7A HDMI audio
ALSA: hda - Allocate name string of each codec
ALSA: hda - Manage kcontrol lists
ALSA: hda - Add codec reconfiguration feature
ALSA: hda - Add sysfs entries to hwdep devices
ALSA: hda - Add init_verbs entries
ALSA: hda - Add hints for reconfig
ALSA: hda: add snd_hda_get_jack* functions

[edit] ICE1724 driver

ALSA: ice1724 - Fix TX IRQ lockup

[edit] Intel8x0 driver

ALSA: intel8x0 - Add quirk for Fujitsu Lifebook P7010

[edit] Maestro3 driver

maestro3.patch: Fix second request_firmware call for 2.4 kernels

[edit] Memalloc module

sparc: Make SBUS DMA interfaces take struct device.
alsa: Remove special SBUS dma support code.

[edit] OSS device core

device create: sound: convert device_create_drvdata to device_create
sound: use a common working email address

[edit] PCI drivers

ALSA: virtuoso: add Xonar HDAV1.3 support
ALSA: Support NVIDIA MCP78/7A HDMI audio
ALSA: hda: add support for jack detection on IDT/Sigmatel

[edit] PPC PS3 driver

ALSA: ps3: Add support for SPDIF/HDMI passthru

[edit] SPARC AMD7930 driver

amd7930: Convert to pure OF driver.
sparc: Annotate of_device_id arrays with const or __initdata.

[edit] SPARC DBRI driver

sparc: Make SBUS DMA interfaces take struct device.
dbri: Convert to pure OF driver.
sparc: Annotate of_device_id arrays with const or __initdata.

[edit] SPARC cs4231 driver

cs4231: Use SNDRV_DMA_TYPE_DEV instead of SNDRV_DMA_TYPE_SBUS.
cs4231: Convert SBUS side to OF driver.
sparc: Move EBUS DMA interfaces into seperate header file.
cs4231: Convert to EBUS side to pure OF driver.
sparc: Annotate of_device_id arrays with const or __initdata.

[edit] Serial BUS drivers

Add check of video_drvdata()
Clean up i2c/other/Makefile
Add missing tea575x-tuner.c generation in i2c/other/Makefile

[edit] SoC Audio for the Atmel AT32 System-on-Chip

ALSA: ASoC: Fix at32-pcm build breakage with PM enabled
ALSA: sound/soc/at32: Useless NULL test
ALSA: ASoC: Convert playpaq_wm8510 to bulk route registration API

[edit] SoC Audio for the Atmel AT91 System-on-Chip

ALSA: ASoC: Remove references to Endrelia ETI-B1 board
ALSA: ASoC: update email address for Liam Girdwood

[edit] SoC Audio for the Samsung S3C24XX chips

ALSA: ASoC: Check for machine type in GTA01 machine driver
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in GTA01 audio driver
ALSA: ASoC: Add widgets before setting endpoints on GTA01
ALSA: ASoC: Fix build of GTA01 audio driver
ALSA: ASoC: Drop device registration from GTA01 lm4857 driver

[edit] SoC Blackfin

ALSA: ASoC Blackfin: add I2S DAI support for AD73311
ALSA: ASoC Blackfin: add asoc ad73311 driver supporting in Blackfin boards
ALSA: ASoC Blackfin: fix bug - Audio Latency on AD1981 with MMAP enabled

[edit] SoC Codec AC97

ALSA: ASoC: update email address for Liam Girdwood

[edit] SoC Codec AD1980

ALSA: ASoC codec: remove unused #include <version.h>

[edit] SoC Codec AD73311

ALSA: ASoC codec: AD73311 audio codec driver

[edit] SoC Codec AK4535

ALSA: ASoC: Remove unused AUDIO_NAME define from codec drivers

[edit] SoC Codec CS4270

ALSA: ASoC: Fix another cs4270 error path
ALSA: ASoC: Fix cs4270 error path

[edit] SoC Codec SSM2602

ALSA: ASoC: Remove unused AUDIO_NAME define from codec drivers

[edit] SoC Codec TLV320AIC23

ALSA: ASoC: Add TLV320AIC23 codec driver
ALSA: ASoC: Add custom SOC_SINGLE_TLV for tlv320aic23 codec
ALSA: ASoC: Remove unused AUDIO_NAME define from codec drivers
ALSA: ASoC: Fix compile-time warning for tlv320aic23.c

[edit] SoC Codec TLV320AIC3X

ALSA: ASoC: Convert tlv320aic3x to a new-style i2c driver (v2)
ALSA: Correct Vladimir Barinov's e-mail address
ALSA: ASoC: tlv320aic3x: Use uniform tlv320aic naming
ALSA: ASoC: tlv320aic3x: Fix DSP DAI format and signal polarities matching

[edit] SoC Codec WM8510

ALSA: ASoC: Correct inverted Mic PGA Switch control in wm8510 driver
ALSA: ASoC: Add WM8510 SPI support
ALSA: ASoC: Implement WM8510 bias level control
ALSA: ASoC: Make WM8510 microphone input a DAPM mixer

[edit] SoC Codec WM8580

ALSA: ASoC codec: remove unused #include <version.h>
ALSA: ASoC: Convert wm8580 to a new-style i2c driver

[edit] SoC Codec WM8731

sound: ASoC: Fix WM8731 SPI write

[edit] SoC Codec WM8750

sound: ASoC: Add WM8750 SPI support

[edit] SoC Codec WM8753

ASoC: Set correct name for WM8753 rec mixer output
ALSA: ASoC: Add WM8753 SPI support

[edit] SoC Codec WM8900

ALSA: ASoC codec: remove unused #include <version.h>
ALSA: ASoC: Convert wm8900 to a new-style i2c driver

[edit] SoC Codec WM8903

ALSA: ASoC: Fix inverted input PGA mute bits in WM8903

[edit] SoC Codec WM8971

sound: ASoC: Add WM8971 CODEC driver

[edit] SoC Codec WM9713

sound: ASoC: DAPM support for ADC on WM9713 PCM interface

[edit] SoC DaVinci

ALSA: ASoC: Convert tlv320aic3x to a new-style i2c driver (v2)
ALSA: Correct Vladimir Barinov's e-mail address

[edit] SoC Dynamic Audio Power Management

ALSA: ASoC: add new param mux to dapm_mux_update_power
ALSA: ASoC: Allow machine drivers to mark pins as not connected
ALSA: Fix debugfs_create_dir's error checking method for sound/soc/
ALSA: ASoC: Remove snd_soc_dapm_connect_input()

[edit] SoC Layer

sound: ASoC: Add WM8971 CODEC driver
sound: ASoC: Fix dependency on AC97_BUS
ALSA: ASoC codec: AD73311 audio codec driver
ALSA: ASoC: Add TLV320AIC23 codec driver
ALSA: ASoC - clean up Kconfig for TLV320AIC2
ALSA: ASoC: Make TLV320AIC26 user-visible
ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users

[edit] SoC PXA2xx Corgi

[ARM] pxa/corgi: use generic GPIO API for SCOOP GPIOs
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in Zaurus machine drivers

[edit] SoC PXA2xx Poodle

ALSA: ASoC: Use snd_soc_dapm_nc_pin() in Zaurus machine drivers

[edit] SoC PXA2xx Spitz

[ARM] pxa/spitz: use generic GPIO API for SCOOP1/SCOOP2 GPIOs
[ARM] pxa/akita: use pca953x instead of akita-ioexp
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in Zaurus machine drivers

[edit] SoC PXA2xx Tosa

ALSA: ASoC: Use snd_soc_dapm_nc_pin() in Zaurus machine drivers

[edit] SoC Texas Instruments OMAP

ALSA: ASoC: Convert tlv320aic3x to a new-style i2c driver (v2)
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in N810 machine driver
ALSA: ASoC: Add support for osk5912
ALSA: ASoC: Add DSP DAI format support to the OMAP McBSP driver
ALSA: ASoC: OMAP: Add multilink support to McBSP DAI driver
ALSA: ASoC: OMAP: Add support for OMAP2430 and OMAP34xx in McBSP DAI driver
ALSA: ASoC: OMAP: Set DMA stream name at runtime in McBSP DAI driver
ALSA: ASoC: Add destination and source port for DMA on OMAP1
ALSA: ASoC: OMAP: Fix DSP DAI format in McBSP DAI driver
ALSA: ASoC: OMAP: Continue fixing DSP DAI format in McBSP DAI driver

[edit] TEA575x tuner

V4L/DVB (8777): tea575x-tuner: replace video_exclusive_open/release
V4L/DVB (8788): v4l: replace video_get_drvdata(video_devdata(filp)) with video_drvdata(filp)

[edit] USB USX2Y

ALSA: us122l: fix missing unlock in usb_stream_hwdep_vm_fault()

[edit] USB generic driver

ALSA: usb-audio: add support for E-Mu Tracker Pre
ALSA: usb - Fix possible Oops at USB-MIDI disconnection
ALSA: snd-usb-audio: support for Edirol UA-4FX device
ALSA: usb-audio: dynamic detection of MIDI interfaces in uaxx-quirk

[edit] Utils

alsa-info - Fix quoting

[edit] au88x0 driver

sound: pci: use pci_ioremap_bar() in sound/

[edit] alsa-lib

[edit] Core

Release v1.0.18

[edit] Control API

Replace some assert() with runtime checks
Fix return value of snd_ctl_hw_subscribe_events()
Fix sort-out of non-existing devices in namehint

[edit] PCM API

Fix comment typos for snd_pcm_read[in]()
Add snd_pcm_avail() and snd_pcm_avail_delay() prototypes

[edit] Configuration

Add iec958 PCM definition for PS3

[edit] Kernel Headers

Increase the components array size

[edit] Test/Example code

test/pcm: Fix error messages in async callback and add snd_pcm_start() condition

[edit] alsa-utils

[edit] Core

Add --disable-alsaconf to configure script
Release v1.0.18

[edit] ALSA Control (alsactl)

alsactl: Fix oops (when parsing card argument)
alsactl: Add -g,--ignore option to ignore 'No soundcards found' error

[edit] aplay/arecord

aplay/arecord: add --test-position test

[edit] iecset

iecset - Add missing help text for -n option

[edit] alsa-plugins

[edit] Core

Release v1.0.18

[edit] PulseAudio -> ALSA plugin

pulse - Start PA event loop after we have created the context
pulse - fix minor memory leak
pulse - Fix destruction order on failure
pulse - Fix destruction logic on failed construction
pulse - Fix capture problem

[edit] Changelog between 1.0.17 and 1.0.18 releases

[edit] alsa-tools

[edit] Core

more gitcompile cleanups
improve Makefile error paths, improve automake directory detection for sbiload
Added configure target to global Makefile and gitcompile to EXTRA_DIST
Release v1.0.18

[edit] /seq/Makefile

improve Makefile error paths, improve automake directory detection for sbiload
Added seq/gitcompile and seq/Makefile to tarball

[edit] Digigram Echo Mixer

improved automake directory detection for echomixer tree
Added configure target to global Makefile and gitcompile to EXTRA_DIST
Fix the gitcompile addition to EXTRA_DIST - echomixer

[edit] Envy24 Control

more gitcompile cleanups
Added configure target to global Makefile and gitcompile to EXTRA_DIST

[edit] RME Digi Control

rmedigicontrol/gitcompile fixed typo

[edit] ac3dec (Dolby Digital Decoder)

gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
Added configure target to global Makefile and gitcompile to EXTRA_DIST
ac3dec - Add -H option for HDMI
ac3dec - Add missing -H option

[edit] as10k1 (EMU10K1+ DSP Assembler)

gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
more gitcompile cleanups

[edit] hdspconf

more gitcompile cleanups

[edit] sb16_csp

sb16_csp/gitcompile improve automake directory detection

[edit] sbiload

improve Makefile error paths, improve automake directory detection for sbiload

[edit] Detailed changelog between 1.0.18rc3 and 1.0.18 releases

[edit] alsa-driver

[edit] Sound Core

- Add kstrndup() wrapper
Added kstrndup() wrapper for older kernels.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Mark CONFIG_SND_JACK as 2.6.27 or later
The older kernel has no proper framework for that.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Add pci_ioremap_bar() check and wrapper
pci_ioremap_bar() is added on (supposedly) 2.6.28-rc1 and later.
Check it in configure and add a simple wrapper in adriver.h.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Add check of video_drvdata()
Added the check of video_drvdata() in configure script, and update
i2c/other/tea575x-tuner.patch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- x86 mach: test for mach_apic.h to skip empty directories
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- Fix build for old 2.4 kernels
- Fix missing linux/io.h
- Fix missing pci_name()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Release v1.0.18
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ALSA Core

- Add kstrndup() wrapper
Added kstrndup() wrapper for older kernels.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- add print_hex_dump_bytes() wrapper
Add an emulation of print_hex_dump_bytes() for older kernels.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- Fix patches for device_create() updates
device_create_drvdata() was removed and merged to the new device_create().
Fixed patches for these changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Add pci_ioremap_bar() check and wrapper
pci_ioremap_bar() is added on (supposedly) 2.6.28-rc1 and later.
Check it in configure and add a simple wrapper in adriver.h.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Add check of video_drvdata()
Added the check of video_drvdata() in configure script, and update
i2c/other/tea575x-tuner.patch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Add fmode_t definition for older kernels
fmode_t is newly introduced in 2.6.28 kernel.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Fix build for old 2.4 kernels
- Fix missing linux/io.h
- Fix missing pci_name()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: Remove bitwise from snd_pcm_hw_param_t
We have some arithmetic operations against snd_pcm_hw_param_t, thus
bitwise isn't correct for it. Better to remove the flag to shut up
sparse warnings.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Increase components array size
Increase the card components[] (and thus snd_card_info.components[],
too) array size from 80 to 128 chars so that more strings can be
stored. The 80 chars aren't enough for more than 2 HD-audio codecs,
and this hits an ugly snd_BUG() as reported by Wu Fegguang for HP
2230s.
The control protocol number is increased to 2.0.6 as well, in case
it matters.
Reported-by: Wu Fengguang <wfg@linux.intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Add a note on dependency of RTC stuff
Added a note on the dependency of old RTC stuff, which is exclusive
with the new RTC class drivers.
http://bugme.linux-foundation.org/show_bug.cgi?id=11430
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- alsa: Remove special SBUS dma support code.
No longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
- device create: sound: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the
original call to be sane.
Cc: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- ALSA: Print function symbol in the error messages
Use the new %pF for error messages in snd_device_*() functions
to give more understandable results.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] SoC PXA2xx Core

- sound: ASoC: Support runtime selection of CPU in pxa2xx-i2s
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code.
Move all common code into separate module snd-pxa2xx-lib.
[Fixed handing of SND_AC97_CODEC in Kconfig and some checkpatch warnings
-- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Separate common pxa2xx-pcm code
ASoC and non-ASoC drivers for PCM DMA on PXA share lots of common code.
Move it to pxa2xx-lib.
[Fixed some checkpatch warnings -- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- pxa: move I2S register and bit definitions into pxa2xx-i2s.c
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- [ARM] pxa: simplify DMA register definitions
1. DRCMRxx is no longer recommended, use DRCMR(xx) instead, and
pass DRCMR index by "struct resource" if possible
2. DCSRxx, DDADRxx, DSADRxx, DTADRxx, DCMDxx is never used, use
DCSR(), DDADR(), DSADR(), DTADR(), DCMD() instead
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

[edit] Jack Input Event Midlevel

- Add missing jack.c build stub
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- jack - fix build with older kernels
Add a definition of SW_LINEOUT_INSERT for older kernels.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Fix jack.c compilation - missing SW_LINEOUT_INSERT
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Handle NULL jacks in snd_jack_report()
Facilitate drivers that wish to carry on if they can't create a jack
input device by handling attempts to report the state of a NULL jack,
removing the need to check for initialisation before use.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: jack: lineout support to jack abstraction layer
This patch introduces support for reporting SW_LINEOUT_INSERT detection events
via the jack abstraction layer.
Also adds a SND_JACK_LINEOUT define to the input system header.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: hda: dynamic jack id
This patch duplicates the jack->id pointer with kstrdup() to prevent
scoping issues from calling autoprobing functions from the HDA section.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] PCM Midlevel

- ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*()
The PCM and rawmidi open callbacks have a lock against card->controls_list
but it takes a wrong one, card->controls_rwsem, instead of a right one
card->ctl_files_rwlock. This patch fixes them.
This change also fixes automatically the potential deadlocks due to
mm->mmap_sem in munmap and copy_from/to_user, reported by Sitsofe
Wheeler:
A: snd_ctl_elem_user_tlv(): card->controls_rwsem => mm->mmap_sem
B: snd_pcm_open(): card->open_mutex => card->controls_rwsem
C: munmap: mm->mmap_sem => snd_pcm_release(): card->open_mutex
The patch breaks the chain.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: remove unneeded power_mutex lock in snd_pcm_drop
The power_mutex lock in snd_pcm_drop may cause a possible deadlock
chain, and above all, it's unneeded. Let's get rid of it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: kernel docs: fix sound/core/ kernel-doc
Add kernel-doc function short descriptions to sound/core functions that
are missing this short description. Mostly this involves moving some of
the function description onto the @funcname line.
Also correct a few variable names and fix other kernel-doc notation.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- sound: add missing pcm kernel-doc
Fix alsa kernel-doc warning in linux-next:
Warning(linux-next-20081016//sound/core/pcm_misc.c:327): No description found for parameter 'samples'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

[edit] RawMidi Midlevel

- ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*()
The PCM and rawmidi open callbacks have a lock against card->controls_list
but it takes a wrong one, card->controls_rwsem, instead of a right one
card->ctl_files_rwlock. This patch fixes them.
This change also fixes automatically the potential deadlocks due to
mm->mmap_sem in munmap and copy_from/to_user, reported by Sitsofe
Wheeler:
A: snd_ctl_elem_user_tlv(): card->controls_rwsem => mm->mmap_sem
B: snd_pcm_open(): card->open_mutex => card->controls_rwsem
C: munmap: mm->mmap_sem => snd_pcm_release(): card->open_mutex
The patch breaks the chain.
Signed-off-by: Takashi Iwai <tiwai@suse.de>

[edit] /arm/Makefile

- ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code.
Move all common code into separate module snd-pxa2xx-lib.
[Fixed handing of SND_AC97_CODEC in Kconfig and some checkpatch warnings
-- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Separate common pxa2xx-pcm code
ASoC and non-ASoC drivers for PCM DMA on PXA share lots of common code.
Move it to pxa2xx-lib.
[Fixed some checkpatch warnings -- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] /soc/codecs/Makefile

- sound: ASoC: Add WM8971 CODEC driver
The WM8971 is a low power, high quality stereo codec designed for
portable digital audio applications.
This driver was originally written by Kenneth Kiraly. While out of tree
it has had updates to reflect current kernel APIs and coding standards
from Graeme Gregory and Mark Brown.
Signed-off-by: Kenneth Kiraly <kiraly@lab126.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: ASoC codec: AD73311 audio codec driver
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: ASoC: Add TLV320AIC23 codec driver
ASoC codec driver for TLV320AIC23 device
Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

[edit] AC97 Codec

- ALSA: ASoC: update email address for Liam Girdwood
Update the contact information for Liam Girdwood in ASoC core and
drivers as my old email address is no longer valid.
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: Enable SPDIF output on ALC655
Some hardwares with ALC655 codec don't indicate the proper ext id bit
for SPDIF output although it supports. Force to enable the bit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] AD1889 driver

- sound: pci: use pci_ioremap_bar() in sound/
Use the newly introduced pci_ioremap_bar() function in sound/.
pci_ioremap_bar() just takes a pci device and a bar number, with the goal
of making it really hard to get wrong, while also having a central place
to stick sanity checks.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ALSA Version

- ALSA: Release v1.0.18
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ALSA<-OSS emulation

- [PATCH] introduce fmode_t, do annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

[edit] ARM

- ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code.
Move all common code into separate module snd-pxa2xx-lib.
[Fixed handing of SND_AC97_CODEC in Kconfig and some checkpatch warnings
-- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Separate common pxa2xx-pcm code
ASoC and non-ASoC drivers for PCM DMA on PXA share lots of common code.
Move it to pxa2xx-lib.
[Fixed some checkpatch warnings -- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ARM PXA2XX driver

- ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code.
Move all common code into separate module snd-pxa2xx-lib.
[Fixed handing of SND_AC97_CODEC in Kconfig and some checkpatch warnings
-- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: pxa2xx-ac97-lib: support building for several CPUs
Support building of pxa2xx-ac97-lib for several CPUs by making code
run-time selected, not only compile-time.
[Fixed 3XX->3xx typos in ifdef checks -- broonie.]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Separate common pxa2xx-pcm code
ASoC and non-ASoC drivers for PCM DMA on PXA share lots of common code.
Move it to pxa2xx-lib.
[Fixed some checkpatch warnings -- broonie]
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- [ARM] pxa: simplify DMA register definitions
1. DRCMRxx is no longer recommended, use DRCMR(xx) instead, and
pass DRCMR index by "struct resource" if possible
2. DCSRxx, DDADRxx, DSADRxx, DTADRxx, DCMDxx is never used, use
DCSR(), DDADR(), DSADR(), DTADR(), DCMD() instead
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- ALSA: Fix pxa2xx-ac97-lib.c compilation
The last ALSA merge broke pxa2xx-ac97-lib.c, as it brought back
references to cpu_is_pxa21x that Eric Miao removed in commit
0ffcbfd54ea81ca24c0749f55ca4fcf3e2bdc23e:
[ARM] pxa: make cpu_is_pxa2* macros more consistent
This patch gets rid of those references, and only keeps cpu_is_pxa25x().
Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: Ensure PXA runtime data is initialised
The rest of the code relies on the runtime data being zero initialised
so we need to use kzalloc() to allocate it.
Reported-by: Oliver Ford <ipaqlinux@oliford.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ATIIXP driver

- sound: pci: use pci_ioremap_bar() in sound/
Use the newly introduced pci_ioremap_bar() function in sound/.
pci_ioremap_bar() just takes a pci device and a bar number, with the goal
of making it really hard to get wrong, while also having a central place
to stick sanity checks.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] ATIIXP-modem driver

- sound: pci: use pci_ioremap_bar() in sound/
Use the newly introduced pci_ioremap_bar() function in sound/.
pci_ioremap_bar() just takes a pci device and a bar number, with the goal
of making it really hard to get wrong, while also having a central place
to stick sanity checks.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] Apple Onboard Audio driver

- aoa - Rename aoa/codec/*.c files
Following the renames in the kernel tree.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- aoa - Rename more files
Forgot to commit remaining files to rename.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- powerpc/drivers: Use linux/of_device.h instead of asm/of_device.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
- ALSA: aoa i2sbus: don't overwrite module parameter
We shouldn't modify a global variable here.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: aoa: clean up file names
This cleans up the apple onboard audio driver filenames.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] Asihpi driver

- asihpi - Fix printk compile warning
runtime->dma_addr can be a 64bit type depending on kconfig.
Cast to unsigned long (as it's 32bit value).
Signed-off-by: Takashi Iwai <tiwai@suse.de>

[edit] CA0106 driver

- ALSA: misc typo fixes
Fixed typos in disabled codes via #if 0.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

[edit] CMI8788 (Oxygen) driver

- ALSA: oxygen: use SPDIF channel status symbols
When setting the SPDIF channel status sample rate field, use the
recently defined symbols instead of magic numbers.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: use a copy of the model struct
Put a copy of the model structure into the chip structure so that model-
specific drivers can modify it depending on a particular device
instance.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: add probe callback
Add a probe callback to the model structure so that model-specific
drivers can refine their model detection before the card is initialized.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: remove X-Meridian magic number
Introduce symbols that indicate the two models handled by the snd-oxygen
driver, instead of using a magic number.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: handle X-Meridian dynamically
Handle the differences between the X-Meridian and the other models in
the probe callback instead of using a second model structure.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: handle D2X/DX dynamically
The Xonar D2X and DX are very similar to the D2 and D1, respectively, so
we can handle the differences dynamically instead of using a separate
model structure for each one.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: create common functions for GPIO bit switch controls
Factor out the common code of the mixer callbacks that handle controls
that just switch a single GPIO bit.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: rename pcm_dev_cfg
Rename the pcm_dev_cfg field to device_config because there will be
additional flags that do not describe PCM devices.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: configure MIDI via device_config
To enable the MIDI port, model drivers must now set flags in
device_config, not only in misc_flags. This allows model drivers to
enable the UART without creating an ALSA MIDI device.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: add UART I/O functions
Add functions to allow model drivers to communicate with external chips
by doing I/O with the not-used-for-MIDI UART.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: add self-documenting functions
Introduce some trivial functions to better document the relationships of
the various model callbacks.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: allow I2C-connected PCM1796
Add support for PCM1796 chips that are connected with an I2C bus instead
of SPI.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: make number of PCM1796 DACs configurable
Do not use a hardcoded number when iterating over the PCM1796 DACs to
allow for cards with a different number of analog output channels.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: rename AC97 callback function
Rename the callback function that switches between line and mic inputs
on the Xonar D1 because it is also usable on other models.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: rename first PCM device
Rename the first PCM device from "Analog" to "Multichannel" because it
can be used for HDMI output on the Xonar HDAV.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: virtuoso: add Xonar HDAV1.3 support
Add support for the Asus Xonar HDAV1.3 and the Xonar HDAV1.3 Deluxe.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- ALSA: oxygen: wait for ACK when resetting UART
After sending a reset command to the UART, wait some time for the ACK to
be generated (and to be read and dropped by the interrupt handler)
before sending the next command.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

[edit] CS46xx driver

- ALSA: cs46xx: Add PCI IDs for TerraTec and Hercules cards
This patch adds PCI IDs for:
* TerraTec DMX XFire 1024
* Hercules Gamesurround Fortissimo II
* Hercules Gamesurround Fortissimo III 7.1
All those cards were supported as generic CS46xx device,
so they will work as before. I'm pretty sure that first two
cards work, as they have same hardware design as reference
card. Not sure about Fortissimo III, but this won't break it
if it worked.
Tested on TerraTec DMX XFire 1024.
Signed-off-by: Vedran Miletic <rivanvx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] CS5530 Cyrix/NatSemi VSA1 softaudio init

- sound: use a common working email address
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] Documentation

- ALSA: virtuoso: add Xonar HDAV1.3 support
Add support for the Asus Xonar HDAV1.3 and the Xonar HDAV1.3 Deluxe.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
- alsa: Remove special SBUS dma support code.
No longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
- Documentation: fix the now deprecated reference to {set,reset}_scoop_gpio
Due to recent patches removing the now deprecated references to
{set,reset}_scoop_gpio() and converting them to the generic GPIO
API, the references in the documentation also need to be fixed.
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Cc: Liam Girdwood <lrg@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

[edit] Dreamcast AICA sound (pcm) driver

- ALSA: Fix section for snd-aica platform driver
Don't use __init but __devinit to define probe function. A pointer to
snd_aica_probe is passed to the core via platform_driver_register and so the
function must not disappear after the module is loaded. Using __init
and having HOTPLUG=y and SND_AICA=m the following probably oopses:
echo -n AICA > /sys/bus/platform/driver/AICA/unbind
echo -n AICA > /sys/bus/platform/driver/AICA/bind
Strange enough add_aicamixer_controls which is only called by
snd_aica_probe was already using __devinit.
While at it move the remove function to .devexit.text section.
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] EMU10K1/EMU10K2 driver

- Regenerate emu10k1_main.patch
Regenerated emu10k1_main.patch for the recent clean up of the id table.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Fix emu10k1_main.patch
The coding-style fixes broke the patch. Fixed now.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: emu10k1: fix device names for Live!/Audigy1/2/4/E-mu
* added missing SBxxxx, CTxxxx, PCxxx and MAEMxxxx where they were missing,
and fixed some of them which were wrong (according to kx.inf, which is pretty
accurate compared to anything out there)
* fixed device names to make them more consistent across various cards
* fixed order of devices where appropriate
Signed-off-by: Vedran Miletic <rivanvx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: emu10k1: fix faulty commit 18c71092
Commit 18c7109289625106cdc810b20b628cd13b46d6dd had #endif leftoff from
compilation. This patch fixes it.
Also, I replaced a misplaced comment by a useful one, that explains why are
here #ifdef and #endif added in compilation.
Signed-off-by: Vedran Miletic <rivanvx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: emu10k1: fix coding style for emu10k1_main.c
I fixed all of coding style errors and some warnings, now it is down to:
checkpatch.pl-0.24 --no-tree --file --strict --terse emu10k1_main.c
total: 0 errors, 62 warnings, 7 checks, 2075 lines checked
Signed-off-by: Vedran Miletic <rivanvx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

[edit] Generic drivers

- pcsp - Add a wrapper for hrtimer_get_expires()
It's introduced newly in 2.6.28.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: mtpav - Fix race in probe
Ingo reported Oops at probing mtpav driver. It's a race between
the irq handler and the rawmidi instance registration.
This patch fixes the order of registration to avoid the race.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: misc typo fixes
Fixed typos in disabled codes via #if 0.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: pcsp - Fix locking messes in snd-pcsp
snd-pcsp driver takes chip->substream_lock together with PCM substream
lock. These are even mixed up with hrtimer's lock, resulting in messy
lock depencies. Right now, snd-pcsp driver resolves the deadlock by
using HRTIMER_CB_SOFTIRQ. However, this isn't nice for a really fast
path like bit-flipping.
This patch introduces a tasklet for PCM period handling so that the
hrtimer callback can be handled fast. This also reduce the use of
chip->substream_lock to avoid deadlocks. It's still used in pointer
callback, but even this could be removed with a proper barrier.
Another good solution is to introduce async trigger callback. But,
this will involve with a major rewrite of the PCM core code, so I
take first this easy fix.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- hrtimer: convert sound/ to the new hrtimer apis
In order to be able to do range hrtimers we need to use accessor functions
to the "expire" member of the hrtimer struct.
This patch converts sound/ to these accessors.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>

[edit] HDA Codec driver

- Add pci/hda/patch_nvhdmi.c build stub
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- ALSA: hda: fix oopses in snd-hda-intel after digital slave support additions
Many places fail to check if codec has slave_dig_outs entries (the most common
case is not having any entry), leading to various possible oopses in hda_codec
code.
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: hda: Added a STAC_HP_M4 quirk
Added a new quirk for STAC_HP_M4 series for an 92hd75xxx family laptop.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: hda: Input port AMP controls
Added support for controlling hardware gain amps on input ports
using a volume control mixer with a mux selecting the port being controlled.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: hda: fixed hp_nid DAC for DELL_M6
This patch sets the HP out not used by the "Headphone to Line Out" switch to the
hp_nid.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: hda: 92hd73xx fixes
Added support for defining the number of amps and the creation
of the private_dimux dynamically for the 92hd73xx codec family.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
[Fixed a typo by tiwai]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: HDA: patch_analog: Fix SPDIF output on AD1989B
The SPDIF pins for AD1989 are not enabled by default. Set OUT bit so that they
actually work. Also initialize the HDMI SPDIF at the same time.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: HDA: patch_analog: Implement multiple outputs for AD1988
Implement the slave_dig_outs for AD1989 cards. Untested due to lack of
hardware.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: HDA: patch_analog: Quirk for Asus P5Q Premium/Pro boards.
Use 6STACK_DIG for the AD2000BX variant of the AD1989B chip used by Asus
on their Asus P5Q Premium and Pro boards.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: HDA VIA: Fix crash on codecs without Headphone
Don't enumerate via_hp_mixer while hp_mux is null (headphone does not exist),
to fix the crash of via_independent_hp_info (via_hp_mixer's .info), which will
reference hp_mux.
Signed-off-by: Logan Li <LoganLi@viatech.com.cn>
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- ALSA: HDA VIA: Fix 2nd S/PDIF out function
As it seems, the recently-sent patch for the 2nd S/PDIF (HDMI) output
is not working with alsa-kernel 1.0.18rc3.
This patch makes it work by
* activating the second S/PDIF output pin in the pin config
* consolidating the dig_playback_pcm_prepare() with extra_dig_pcm_prepare()
functions
* remove the need for an extra hda_pcm_stream structure and rather represents
t