05 Nov, 2011

1 commit

  • * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (63 commits)
    dmaengine: mid_dma: mask_peripheral_interrupt only when dmac is idle
    dmaengine/ep93xx_dma: add module.h include
    pch_dma: Reduce wasting memory
    pch_dma: Fix suspend issue
    dma/timberdale: free_irq() on an error path
    dma: shdma: transfer based runtime PM
    dmaengine: shdma: protect against the IRQ handler
    dmaengine i.MX DMA/SDMA: add missing include of linux/module.h
    dmaengine: delete redundant chan_id and chancnt initialization in dma drivers
    dmaengine/amba-pl08x: Check txd->llis_va before freeing dma_pool
    dmaengine/amba-pl08x: Add support for sg len greater than one for slave transfers
    serial: sh-sci: don't filter on DMA device, use only channel ID
    ARM: SAMSUNG: Remove Samsung specific enum type for dma direction
    ASoC: Samsung: Update DMA interface
    spi/s3c64xx: Merge dma control code
    spi/s3c64xx: Add support DMA engine API
    ARM: SAMSUNG: Remove S3C-PL330-DMA driver
    ARM: S5P64X0: Use generic DMA PL330 driver
    ARM: S5PC100: Use generic DMA PL330 driver
    ARM: S5PV210: Use generic DMA PL330 driver
    ...

    Fix up fairly trivial conflicts in
    - arch/arm/mach-exynos4/{Kconfig,clock.c}
    - arch/arm/mach-s5p64x0/dma.c

    Linus Torvalds
     

04 Nov, 2011

4 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (24 commits)
    ALSA: hda/realtek - Skip invalid digital out pins
    ALSA: hda/sigmatel - Automatically retrieve digital I/O widgets
    ALSA: hda - Remove unused variables
    ALSA: hda/realtek - Don't create alt-stream for capture when unnecessary
    ALSA: hda - Add support for 92HD65 / 92HD66 family of codecs
    ALSA: hda - Disable power-widget control for IDT 92HD83/93 as default
    ALSA: hda - Check NO_PRESENCE pincfg default bit
    ASoC: Ensure we always delay for WM8962 FLL when starting from SYSCLK
    ASoC: Ensure the WM8962 oscillator and PLLs start up disabled
    ASoC: Ensure WM8962 PLL registers are reset
    ALSA: intel8x0 - Fix inclusion of kvm_para.h
    ALSA: hda_hwdep: Fix possible buffer overflow
    ASoC: Fix return value of wm5100_gpio_direction_out()
    ASoC: WM8904: Set `invert' bit for Capture Switch
    ASoC: Leave input audio data bit length settings untouched in wm8711_set_dai_fmt
    ASoC: wm8711: Fix wrong mask for setting input audio data bit length select
    ALSA: intel8x0: Improve performance in virtual environment
    ALSA: hdspm - Enable all firmware ranges for PCI MADI/AES cards
    ALSA: hdsp - Correct HDSP_VERSION_BIT constant, thus partly fixing RPM detection
    ALSA: hdspm - Fix MADI channel format in the status ioctl
    ...

    Linus Torvalds
     
  • * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (37 commits)
    MIPS: O32: Provide definition of registers ta0 .. ta3.
    MIPS: perf: Add Octeon support for hardware perf.
    MIPS: perf: Add support for 64-bit perf counters.
    MIPS: perf: Reorganize contents of perf support files.
    MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c
    MIPS: Add accessor macros for 64-bit performance counter registers.
    MIPS: Add probes for more Octeon II CPUs.
    MIPS: Add more CPU identifiers for Octeon II CPUs.
    MIPS: XLR, XLS: Add comment for smp setup
    MIPS: JZ4740: GPIO: Check correct IRQ in demux handler
    MIPS: JZ4740: GPIO: Simplify IRQ demuxer
    MIPS: JZ4740: Use generic irq chip
    MIPS: Alchemy: remove all CONFIG_SOC_AU1??? defines
    MIPS: Alchemy: kill au1xxx.h header
    MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines
    MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep
    MIPS: Alchemy: Redo PCI as platform driver
    MIPS: Alchemy: more base address cleanup
    MIPS: Alchemy: rewrite USB platform setup.
    MIPS: Alchemy: abstract USB block control register access
    ...

    Fix up trivial conflicts in:
    arch/mips/alchemy/devboards/db1x00/platform.c
    drivers/ide/Kconfig
    drivers/mmc/host/au1xmmc.c
    drivers/video/Kconfig
    sound/mips/Kconfig

    Linus Torvalds
     
  • Takashi Iwai
     
  • Some BIOS report invalid pins as digital output pins. The driver checks
    the connection but it doesn't do it fully correctly, and it leaves some
    undefined value as the audio-out widget, which makes the driver spewing
    warnings. This patch fixes the issue.

    Reference: https://bugzilla.novell.com/show_bug.cgi?id=727348

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

03 Nov, 2011

4 commits

  • Revise stac92xx_parse_auto_config to automatically scan for digital input
    and output converters.

    Signed-off-by: Charles Chin
    Signed-off-by: Takashi Iwai

    Charles Chin
     
  • Just clean-up what GCC caught.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • When the driver finds multiple ADCs, it tries to create an alternative
    capture PCM stream. However, these secondary ADCs might be useless or
    in uncontrolled paths in some cases, e.g. when auto-mic or dynamic
    ADC-switching is enabled. Also, when only a single capture source is
    available, the multi-streams don't make sense, too.

    With this patch, the driver checks such condition and skips the alt
    stream appropriately.

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • * 'for-linus' of git://github.com/richardweinberger/linux: (90 commits)
    um: fix ubd cow size
    um: Fix kmalloc argument order in um/vdso/vma.c
    um: switch to use of drivers/Kconfig
    UserModeLinux-HOWTO.txt: fix a typo
    UserModeLinux-HOWTO.txt: remove ^H characters
    um: we need sys/user.h only on i386
    um: merge delay_{32,64}.c
    um: distribute exports to where exported stuff is defined
    um: kill system-um.h
    um: generic ftrace.h will do...
    um: segment.h is x86-only and needed only there
    um: asm/pda.h is not needed anymore
    um: hw_irq.h can go generic as well
    um: switch to generic-y
    um: clean Kconfig up a bit
    um: a couple of missing dependencies...
    um: kill useless argument of free_chan() and free_one_chan()
    um: unify ptrace_user.h
    um: unify KSTK_...
    um: fix gcov build breakage
    ...

    Linus Torvalds
     

02 Nov, 2011

7 commits


01 Nov, 2011

4 commits


31 Oct, 2011

8 commits

  • Set `invert' bit for Capture Switch. Otherwise analogue is muted when
    Capture Switch is ON.

    Signed-off-by: Hong Xu
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Hong Xu
     
  • Current implementation in wm8711_set_dai_fmt always clear BIT[3:2]
    (the Input Audio Data Bit Length Select) of WM8711_IFACE(07h) register.
    Input Audio Data Bit Length Select bits are set by wm8711_hw_params,
    we should leave BIT[3:2] untouched in wm8711_set_dai_fmt.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Axel Lin
     
  • The Input Audio Data Bit Length Select is controlled by BIT[3:2] of
    WM8711_IFACE(07h) register.
    Current code incorrectly masks BIT[1:0] which is for Audio Data Format Select.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Axel Lin
     
  • v3: detection code is x86 and KVM specific, hide it under ifdef
    v2: add detection for virtual environments (KVM and Parallels)

    This patch is intended to improve performance in virtualized environments
    like Parallels Desktop or KVM/VirtualBox/QEMU (virtual ICH/AC97 audio).

    I/O access is very time-expensive operation in virtual world: VCPU
    can be rescheduled and in the worst case we get more than 10ms delay on
    each I/O access.

    In the virtual environment loop exit rule
    (old_civ == current_civ && old_picb == current_picb) is never satisfied,
    because old_picb is never the same as current_picb due to delay inspired
    by reading current_civ. As a result loop ended by timeout and we get 10x
    more I/O operations.

    Experimental data from Prallels Desktop 7, RHEL6 guest (I/O ops per
    second):

    Original code:
    In Port Counter Callback
    f014 41550 fffff00000179d00 ac97_bm_read_civ+0x000
    f018 41387 fffff0000017a580 ac97_bm_read_picb+0x000

    With patch:
    In Port Counter Callback
    f014 4090 fffff00000179d00 ac97_bm_read_civ+0x000
    f018 1964 fffff0000017a580 ac97_bm_read_picb+0x000

    Signed-off-by: Konstantin Ozerkov
    Signed-off-by: Denis V. Lunev
    Signed-off-by: Takashi Iwai

    Konstantin Ozerkov
     
  • From the Windows INF file, we know the firmware ranges for all RME
    cards. For PCIe, a single revision ID per device (RayDAT, MADI, AIO,
    AES) is used. Contrary, the older PCI versions use ranges, that is,
    one revision ID per firmware version.

    Instead of listing all possible revisions individually, match the range.

    This commit enables all MADI and AES PCI versions ever shipped.

    Signed-off-by: Adrian Knoth
    Signed-off-by: Takashi Iwai

    Adrian Knoth
     
  • HDSP_VERSION_BIT has to be ORed with HDSP_S_LOAD. This fixes the detection
    of at least some RME RPM boxes.

    Signed-off-by: Adrian Knoth
    Signed-off-by: Takashi Iwai

    Adrian Knoth
     
  • SNDRV_HDSPM_IOCTL_GET_STATUS is supposed to query the current card
    status, so we have to return what we receive on the MADI wire (RX), not
    what we transmit (TX) to others. The latter is a config item to be
    queried via SNDRV_HDSPM_IOCTL_GET_CONFIG.

    Signed-off-by: Adrian Knoth
    Signed-off-by: Takashi Iwai

    Adrian Knoth
     
  • Smatch complains that if device is INT_MAX then device + 1 can
    overflow. It just means we would have an annoying loop while we
    check all the devices from -2147483648 to SNDRV_MINOR_HWDEPS.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Takashi Iwai

    Dan Carpenter
     

29 Oct, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (549 commits)
    ALSA: hda - Fix ADC input-amp handling for Cx20549 codec
    ALSA: hda - Keep EAPD turned on for old Conexant chips
    ALSA: hda/realtek - Fix missing volume controls with ALC260
    ASoC: wm8940: Properly set codec->dapm.bias_level
    ALSA: hda - Fix pin-config for ASUS W90V
    ALSA: hda - Fix surround/CLFE headphone and speaker pins order
    ALSA: hda - Fix typo
    ALSA: Update the sound git tree URL
    ALSA: HDA: Add new revision for ALC662
    ASoC: max98095: Convert codec->hw_write to snd_soc_write
    ASoC: keep pointer to resource so it can be freed
    ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls
    ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2
    ASoC: da7210: Add support for line out and DAC
    ASoC: da7210: Add support for DAPM
    ALSA: hda/realtek - Fix DAC assignments of multiple speakers
    ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value
    ASoC: Set sgtl5000->ldo in ldo_regulator_register
    ASoC: wm8996: Use SND_SOC_DAPM_AIF_OUT for AIF2 Capture
    ASoC: wm8994: Use SND_SOC_DAPM_AIF_OUT for AIF3 Capture
    ...

    Linus Torvalds
     

27 Oct, 2011

11 commits