11 May, 2007

40 commits

  • The platform_device allocated by platform_device_alloc()
    should be added to the device hierarchy by platform_device_add()
    instead of platform_device_register().
    Otherwise it will hit WARN_ON() in platform_device_register().
    by illegal refcount.
    This patch fixes such incorrect usages in portman2x4 and mts64 drivers.
    Also it removes unnecessary trailing whitespaces.

    Signed-off-by: Akinobu Mita
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Akinobu Mita
     
  • Fix the auto-configuration of 8-channel devices. The sequence numbers
    of usual 7.1 outputs are: 0/1/2/4 = Front/CLFE/Rear/Side

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • When intel8x0 driver is loaded in the crash kernel, it gets Oops
    occasionally. This is because the irq handler gets called before
    the proper hardware initialization. Now defer it after
    snd_intel8x0_chip_init().
    (reference: http://lkml.org/lkml/2007/3/5/252)

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead

    Signed-off-by: Milind Arun Choudhary
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Milind Arun Choudhary
     
  • Added the support for Gigabyte S-Series GA-M57SLI-S4 motherboard
    (model=6stack-dig).

    Signed-off-by: Tobin Davis
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Tobin Davis
     
  • Fix surround output on AD1986A codec 3stack model.
    The following bugs are fixed:
    - init verbs for 3stack disabled the shared surround outputs
    - a channel mode change resulted in the mute of surrounds

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • This patch makes the ASoC Kconfig descriptions a little more meaningful.

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • This patch adds DMA size fields to the S3C24xx audio DMA params and
    exports the S3C24xx I2S digital audio interface.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Graeme Gregory
     
  • This patch cleans up the audio DMA for the Samsung S3C24xx platform.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Graeme Gregory
     
  • First generation MacBooks were getting ignored by sigmatel drivers
    and wrongly being identified as MACMINI. This patch makes them
    identify as MACBOOK.

    Signed-off-by: Abhijit Bhopatkar
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Abhijit Bhopatkar
     
  • This patch exports the ASoC AC97 Digital Audio Interface as a GPL'ed
    symbol.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Graeme Gregory
     
  • This patch adds the WM8753 codec driver to the kernel build system.

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • This patch series adds support for the WM8753 codec as found on the
    OpenMoko Neo 1973 (other Neo 1973 and Samsung S3C24xx patches to follow
    today) as well other new devices.
    Features:-
    o HiFi and Voice DAI supported (inc runtime switching of DAI mode)
    o DAPM
    o All mixers
    o PLL calculator
    o 16,20 and 24bit samples.
    o WM8753 I2C ID added to include/linux/i2c-id.h
    From: Liam Girdwood

    Signed-off-by: Harald Welte
    Signed-off-by: Graeme Gregory
    Signed-off-by: Seth Forshee
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • This patch by Frank Madarino updates the AT91xxxx Makefile and Kconfig
    to build the renamed SSC files.
    Changes:-
    o Rename various i2s labels to ssc

    Signed-off-by: Frank Mandarino
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Frank Mandarino
     
  • This patch by Frank Madarino updates the eti B1 machine to use the newer
    AT91xxxx SSC core with the DSP/PCM audio hardware changes.
    Changes:-
    o #include 'at91-ssc.h' instead of 'at91-i2s.h'
    o Rename various I2S labels to SSC

    Signed-off-by: Frank Mandarino
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Frank Mandarino
     
  • This patch series by Frank Madarino updates the AT91xxxx core to add
    DSP/PCM audio hardware formats.
    Changes:-
    o Rename at19-i2s.c -> at91-ssc.c
    o Rename at91-i2s.h -> at91-ssc.h
    o Add DSP hardware formats.
    o Rename various I2S labels to SSC

    Signed-off-by: Frank Mandarino
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Frank Mandarino
     
  • This patch fixes an issue whereby power was applied to any inactive
    analog path that would leave and reenter a codec (e.g. ACOP -> ACIN on
    WM8753). This change now checks for such paths and DAPM will power them
    down when not in use.

    Signed-off-by: Seth Forshee
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Seth Forshee
     
  • This patch creates the WM9712 codec register cache using kmemdup instead
    of doing a kzalloc followed by a memcpy.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Graeme Gregory
     
  • Fixed MAINTAINERS, alsa-devel ML is now subscribers-only.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Trivial code clean-ups to follow the standard coding styles.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Merge hda-codec module to a single hda-intel module since this is the
    only user right now. Although hda-codec stuff is designed to be used
    universally from different controller drivers, currently only one
    controller interface (and compatibles) are used. So, let's merge them
    to a single module to save memory.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Allow opening the dedicated SPDIF stream while running on analog dup
    mode. Then the SPDIF stream is once reset and assigned for the new
    stream. It's useful for exclusive SPDIF output like AC3/DTS.
    (In the former version, you had to close once the analog stream to
    play the exclusive digital stream.)

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Trivial code clean-ups of patch_realtek.c: indent and whitespace fixes.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Added the support of 96kHz sample rate back. Although the rate isn't
    listed in the ACC_PAR_PCM bits but si3054 codecs do support this rate
    explicitly. Now fixed the deteciton code not to check this extra bit.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • - Add ALC662 support
    - Fixed no sound for [0x1631, 0xc017, 'PB V7900', ALC260_WILL]
    - Fixed no sound for [0x161f, 0x2057, 'Replacer 672V', ALC260_REPLACER_672V]
    - Add SKU ID for auto mode

    Signed-off-by: Kailang Yang
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Kailang Yang
     
  • Fixes:
    --------
    * correct card specific ice1724 initialization
    * working IEC958 output of the card
    * renamed capture controls
    New features:
    ------------------
    * analog input switch (line-in/mic)
    * optional ak4114 based MI/ODI/O card detection & support: IEC958 input,
    digital input switch (toslink/coax)
    Unresolved issues
    -----------------------
    * Analog and digital input enums are listed on playback panel of alsamixer,
    I do not know how to push them onto the capture one.

    Signed-off-by: Pavel Hofman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Pavel Hofman
     
  • Added some comments regarding naming of PCM streams on vt172x chip.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Call snd_ak4114_build() in juli support code to build proper mixer
    elements for SPDIF inputs.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • * correct register for 'IEC958 Non-PCM Bitstream', 'IEC958 DTS Bitstream'
    to use AK4114_REG_RCS0
    * correct check for control name: if (strstr(kctl->id.name, 'Playback'))
    * correct check: if (!chip->init) in snd_ak4114_external_rate
    * added PCM control 'IEC958 PPL Lock Status'

    Signed-off-by: Pavel Hofman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Pavel Hofman
     
  • When launching 'jackd -d alsa', lockdep issues the following warning:
    [39701.405086] =============================================
    [39701.405093] [ INFO: possible recursive locking detected ]
    [39701.405107] 2.6.21-rc5-mm4 #2
    [39701.405109] ---------------------------------------------
    [39701.405112] jackd/17366 is trying to acquire lock:
    [39701.405114] (&substream->self_group.lock){....}, at: [] snd_pcm_action_group+0x90/0x240
    [39701.405131]
    [39701.405131] but task is already holding lock:
    [39701.405134] (&substream->self_group.lock){....}, at: [] snd_pcm_action_lock_irq+0x3f/0xb0
    [39701.405141]
    [39701.405142] other info that might help us debug this:
    [39701.405145] 3 locks held by jackd/17366:
    [39701.405147] #0: (snd_pcm_link_rwlock){....}, at: [] snd_pcm_action_lock_irq+0x27/0xb0
    [39701.405155] #1: (&substream->group->lock){....}, at: [] snd_pcm_action_lock_irq+0x38/0xb0
    [39701.405163] #2: (&substream->self_group.lock){....}, at: [] snd_pcm_action_lock_irq+0x3f/0xb0
    [39701.405171]
    [39701.405171] stack backtrace:
    [39701.405174] [] show_trace_log_lvl+0x1a/0x30
    [39701.405179] [] show_trace+0x12/0x20
    [39701.405183] [] dump_stack+0x16/0x20
    [39701.405187] [] __lock_acquire+0xbd0/0x1040
    [39701.405193] [] lock_acquire+0x70/0x90
    [39701.405197] [] _spin_lock+0x36/0x50
    [39701.405203] [] snd_pcm_action_group+0x90/0x240
    [39701.405207] [] snd_pcm_action_lock_irq+0x53/0xb0
    [39701.405211] [] snd_pcm_common_ioctl1+0x35f/0xfb0
    [39701.405215] [] snd_pcm_playback_ioctl1+0x34/0x420
    [39701.405219] [] snd_pcm_playback_ioctl+0x43/0x50
    [39701.405223] [] do_ioctl+0x28/0x80
    [39701.405229] [] vfs_ioctl+0x57/0x290
    [39701.405233] [] sys_ioctl+0x39/0x60
    [39701.405237] [] sysenter_past_esp+0x5d/0x99
    [39701.405240] =======================
    The attached lockdep annotation silences the warning.

    Signed-off-by: Frederik Deweerdt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Frederik Deweerdt
     
  • Fix SPDIF output (at least on Realtek codecs). The DIGI_CONVERT verbs
    have to be reset before the PCM stream is set up. Otherwise the digital
    setup is screwed up.
    Also, check the AMP capability before setting AMP of the digital out
    widget.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • - Clean up ali5451.c, following the standard coding style, unneeded codes
    reduced, and removal of redundant variable initializations.
    Hungarian notation isn't fixed yet ;)
    - Fix irq handler to return IRQ_NONE properly for shared irqs.
    Also check the hardware availability in irq handler to avoid possible
    initialization races at loading the driver.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • ak4114 code may trigger Oops when the parameters are changed without
    call of snd_ak4114_build(). Now it checks the existence of kctl
    element, and the workq is triggered after building the necessary
    kcontrols.
    Also, did some code clean up.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • some typo fixes.

    Signed-off-by: Karsten Wiese
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Karsten Wiese
     
  • ap192_4wire_start() in ice1712/revo.c returns unsigned char
    whereas it should return unsigned int.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Minor optimization in trigger start callback. This fixes a nasty
    compile warning, too.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Looks like the buffer size for the stereo capture has to be a
    power of two. Now added a constraint to buffer bytes.
    Also removed unnecessary #if 0 lines.

    Signed-off-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Added missing array terminators in patch_conexant.c.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • This patch changes snd-aoa-i2sbus to use MODULE_DEVICE_TABLE instead of
    a hardcoded MODULE_ALIAS. Thanks to Sylvain Munaut for pointing this
    out.

    Signed-off-by: Johannes Berg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Johannes Berg
     
  • Fixed a typo in AK4114_DIF2 bit definition. This may fix some
    problems for Audiophile 192 and Juli boards.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai