20 Dec, 2012

1 commit

  • Pull sound fixes from Takashi Iwai:
    "This update contains overall only driver-specific fixes. Slightly
    large LOC are seen in usb-audio driver for a couple of new device
    quirks and cs42l71 ASoC driver for enhanced features. The others are
    a few small (regression) fixes HD-audio, and yet other small / trival
    ASoC fixes."

    * tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: usb-audio: Support for Digidesign Mbox 2 USB sound card:
    ALSA: HDA: Fix sound resume hang
    ALSA: hda - bug fix for invalid connection list of Haswell HDMI codec pins
    ALSA: hda - Fix the wrong pincaps set in ALC861VD dallas/hp fixup
    ALSA: hda - Set codec->single_adc_amp flag for Realtek codecs
    ASoC: atmel-ssc: change disable to disable in dts node
    ASoC: Prevent pop_wait overwrite
    ALSA: usb-audio: ignore-quirk for HP Wireless Audio
    ALSA: hda - Always turn on pins for HDMI/DP
    ALSA: hda - Fix pin configuration of HP Pavilion dv7
    ASoC: core: Fix splitting of log messages
    ASoC: cs42l73: Change VSPIN/VSPOUT to VSPINOUT
    ASoC: cs42l73: Add DAPM events for power down.
    ASoC: cs42l73: Add DMIC's as DAPM inputs.
    ASoC: sigmadsp: Fix endianness conversion issue
    ASoC: tpa6130a2: Use devm_* APIs

    Linus Torvalds
     

19 Dec, 2012

2 commits

  • This patch is the result of a lot of trial and error, since there are no specs
    available for the device.

    Full duplex support is provided, i.e. playback and recording in stereo.
    The format is hardcoded at 48000Hz @ 24 bit, which is the maximum that the
    device supports. Also, MIDI in and MIDI out both work.

    Users will notice that the S/PDIF light also flashes when playback or recording
    is active. I believe this means that S/PDIF input/output is simultaneously
    activated with the analogue i/o during use.
    But this particular functionality remains untested.

    Note that this particular version of the patch is so far untested on the
    physical hardware because I have not compiled a full kernel with the changes.
    However, extensive testing has been done by many users of the hardware
    who believe other versions of my patch have worked since circa 2009.

    [Modified to make a function static by tiwai]

    Signed-off-by: Damien Zammit
    Signed-off-by: Takashi Iwai

    Damien Zammit
     
  • Resuming a switcheroo'd HDA controller hangs since the completion
    is one-shot (thus works the first time). Fix by using completions
    that explictly need rearming, so remain fired before.

    Signed-off-by: Daniel J Blueman
    Signed-off-by: Takashi Iwai

    Daniel J Blueman
     

18 Dec, 2012

4 commits


17 Dec, 2012

1 commit


15 Dec, 2012

7 commits


14 Dec, 2012

6 commits

  • We've seen the broken HDMI *video* output on some machines with GM965,
    and the debugging session pointed that the culprit is the disabled
    audio output pins. Toggling these pins dynamically on demand caused
    flickering of HDMI TV.

    This patch changes the behavior to keep the pin ON constantly.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=51421

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Pull trivial branch from Jiri Kosina:
    "Usual stuff -- comment/printk typo fixes, documentation updates, dead
    code elimination."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    HOWTO: fix double words typo
    x86 mtrr: fix comment typo in mtrr_bp_init
    propagate name change to comments in kernel source
    doc: Update the name of profiling based on sysfs
    treewide: Fix typos in various drivers
    treewide: Fix typos in various Kconfig
    wireless: mwifiex: Fix typo in wireless/mwifiex driver
    messages: i2o: Fix typo in messages/i2o
    scripts/kernel-doc: check that non-void fcts describe their return value
    Kernel-doc: Convention: Use a "Return" section to describe return values
    radeon: Fix typo and copy/paste error in comments
    doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
    various: Fix spelling of "asynchronous" in comments.
    Fix misspellings of "whether" in comments.
    eisa: Fix spelling of "asynchronous".
    various: Fix spelling of "registered" in comments.
    doc: fix quite a few typos within Documentation
    target: iscsi: fix comment typos in target/iscsi drivers
    treewide: fix typo of "suport" in various comments and Kconfig
    treewide: fix typo of "suppport" in various comments
    ...

    Linus Torvalds
     
  • Pull sound updates from Takashi Iwai:
    "This update contains a fairly wide range of changes all over in sound
    subdirectory, mainly because of UAPI header moves by David and __dev*
    annotation removals by Bill. Other highlights are:

    - Introduced the support for wallclock timestamps in ALSA PCM core

    - Add the poll loop implementation for HD-audio jack detection

    - Yet more VGA-switcheroo fixes for HD-audio

    - New VIA HD-audio codec support

    - More fixes on resource management in USB audio and MIDI drivers

    - More quirks for USB-audio ASUS Xonar U3, Reloop Play, Focusrite,
    Roland VG-99, etc

    - Add support for FastTrack C400 usb-audio

    - Clean ups in many drivers regarding firmware loading

    - Add PSC724 Ultiimate Edge support to ice1712

    - A few hdspm driver updates

    - New Stanton SCS.1d/1m FireWire driver

    - Standardisation of the logging in ASoC codes

    - DT and dmaengine support for ASoC Atmel

    - Support for Wolfson ADSP cores

    - New drivers for Freescale/iVeia P1022 and Maxim MAX98090

    - Lots of other ASoC driver fixes and developments"

    Fix up trivial conflicts. And go out on a limb and assume the dts file
    'status' field of one of the conflicting things was supposed to be
    "disabled", not "disable" like in pretty much all other cases.

    * tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (341 commits)
    ALSA: hda - Move runtime PM check to runtime_idle callback
    ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
    ALSA: hda - Avoid doubly suspend after vga switcheroo
    ALSA: usb-audio: Enable S/PDIF on the ASUS Xonar U3
    ALSA: hda - Check validity of CORB/RIRB WP reads
    ALSA: hda - use usleep_range in link reset and change timeout check
    ALSA: HDA: VIA: Add support for codec VT1808.
    ALSA: HDA: VIA Add support for codec VT1705CF.
    ASoC: codecs: remove __dev* attributes
    ASoC: utils: remove __dev* attributes
    ASoC: ux500: remove __dev* attributes
    ASoC: txx9: remove __dev* attributes
    ASoC: tegra: remove __dev* attributes
    ASoC: spear: remove __dev* attributes
    ASoC: sh: remove __dev* attributes
    ASoC: s6000: remove __dev* attributes
    ASoC: OMAP: remove __dev* attributes
    ASoC: nuc900: remove __dev* attributes
    ASoC: mxs: remove __dev* attributes
    ASoC: kirkwood: remove __dev* attributes
    ...

    Linus Torvalds
     
  • Pull ARM SoC board updates, take 2 from Olof Johansson:
    "This branch contains board updates for shmobile that had dependencies
    on earlier branches past the first driver branch, and thus are merged
    separately.

    Most of these are to enable audio and USB on shmobile. They contain a
    dependent ASoC branch that has been coordinated with Mark Brown."

    * tag 'boards2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: shmobile: mackerel: Add FLCTL IRQ resource
    ARM: shmobile: use FSI driver's audio clock on ap4evb
    ARM: shmobile: use FSI driver's audio clock on mackerel
    ARM: shmobile: use FSI driver's audio clock on armadillo800eva
    ARM: shmobile: mackerel: enable DMAEngine on USB Host
    ARM: shmobile: marzen: add USB OHCI driver support
    ARM: shmobile: marzen: add USB EHCI driver support
    ARM: shmobile: marzen: add USB phy support
    ASoC: fsi: add master clock control functions
    ASoC: fsi: care fsi_hw_start/stop() return value
    ASoC: fsi: fsi_set_master_clk() was called from fsi_hw_xxx() only
    ASoC: fsi: use devm_request_irq()
    ASoC: fsi: fixup channels_min/max

    Linus Torvalds
     
  • Pull ARM SoC power management and clock changes from Olof Johansson:
    "This branch contains a largeish set of updates of power management and
    clock setup. The bulk of it is for OMAP/AM33xx platforms, but also a
    few around hotplug/suspend/resume on Exynos.

    It includes a split-up of some of the OMAP clock data into separate
    files which adds to the diffstat, but gross delta is fairly reasonable."

    * tag 'pm-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (60 commits)
    ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h
    ASoC: OMAP: mcbsp fixes for enabling ARM multiplatform support
    watchdog: OMAP: fixup for ARM multiplatform support
    ARM: EXYNOS: Add flush_cache_all in suspend finisher
    ARM: EXYNOS: Remove scu_enable from cpuidle
    ARM: EXYNOS: Fix soft reboot hang after suspend/resume
    ARM: EXYNOS: Add support for rtc wakeup
    ARM: EXYNOS: fix the hotplug for Cortex-A15
    ARM: OMAP2+: omap_device: Correct resource handling for DT boot
    ARM: OMAP2+: hwmod: Add possibility to count hwmod resources based on type
    ARM: OMAP2+: hwmod: Add support for per hwmod/module context lost count
    ARM: OMAP2+: PRM: initialize some PRM functions early
    ARM: OMAP2+: voltage: fixup oscillator handling when CONFIG_PM=n
    ARM: OMAP4: USB: power down MUSB PHY during boot
    ARM: OMAP2+: clock: Cleanup !CONFIG_COMMON_CLK parts
    ARM: OMAP2xxx: clock: drop obsolete clock data
    ARM: OMAP2: clock: Cleanup !CONFIG_COMMON_CLK parts
    ARM: OMAP3+: DPLL: drop !CONFIG_COMMON_CLK sections
    ARM: AM33xx: clock: drop obsolete clock data
    ARM: OMAP3xxx: clk: drop obsolete clock data
    ...

    Linus Torvalds
     
  • Pull ARM SoC multiplatform conversion patches from Olof Johansson:
    "Here are more patches in the progression towards multiplatform, sparse
    irq conversions in particular.

    Tegra has a handful of cleanups and general groundwork, but is not
    quite there yet on full enablement.

    Platforms that are enabled through this branch are VT8500 and Zynq.
    Note that i.MX was converted in one of the earlier cleanup branches as
    well (before we started a separate topic for multiplatform). And both
    new platforms for this merge window, sunxi and bcm, were merged with
    multiplatform support enabled."

    Fix up conflicts mostly as per Olof.

    * tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
    ARM: zynq: Remove all unused mach headers
    ARM: zynq: add support for ARCH_MULTIPLATFORM
    ARM: zynq: make use of debug_ll_io_init()
    ARM: zynq: remove TTC early mapping
    ARM: tegra: move debug-macro.S to include/debug
    ARM: tegra: don't include iomap.h from debug-macro.S
    ARM: tegra: decouple uncompress.h and debug-macro.S
    ARM: tegra: simplify DEBUG_LL UART selection options
    ARM: tegra: select SPARSE_IRQ
    ARM: tegra: enhance timer.c to get IO address from device tree
    ARM: tegra: enhance timer.c to get IRQ info from device tree
    ARM: timer: fix checkpatch warnings
    ARM: tegra: add TWD to device tree
    ARM: tegra: define DT bindings for and instantiate RTC
    ARM: tegra: define DT bindings for and instantiate timer
    clocksource/mtu-nomadik: use apb_pclk
    clk: ux500: Register mtu apb_pclocks
    ARM: plat-nomadik: convert platforms to SPARSE_IRQ
    mfd/db8500-prcmu: use the irq_domain_add_simple()
    mfd/ab8500-core: use irq_domain_add_simple()
    ...

    Linus Torvalds
     

13 Dec, 2012

1 commit


12 Dec, 2012

6 commits

  • The runtime_idle callback is the right place to check the suspend
    capability, but currently we do it wrongly in the runtime_suspend
    callback. This leads to a kernel error message like:
    pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_intel] returns -11
    and the runtime PM core would even repeat the attempts.

    Reported-and-tested-by: Borislav Petkov
    Cc: [v3.7]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Acer Aspire One 522 has the infamous digital mic unit that needs the
    phase inversion fixup for stereo.

    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=715737

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The HD-audio driver artificially calls the suspend and the resume code
    path in the VGA switcheroo state changes. When a machine goes to
    suspend, it tries to suspend the device again, and it stalls at
    snd_power_wait().

    This patch adds checks whether the devices were already in (forced)
    suspend in PM callbacks for avoiding the doubly suspend.

    Reported-by: Daniel J Blueman
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The only required change is to extend the existing Xonar U1
    mixer quirks to the U3, which seems to be controlled the same
    way.

    Signed-off-by: Denis Washington
    Signed-off-by: Takashi Iwai

    Denis Washington
     
  • When the HD-audio controller is disabled (e.g. via vga switcheroo) but
    the driver is still accessing it, it spews floods of "spurious
    response" kernel messages. It's because CORB/RIRB WP reads 0xff, and
    the driver tries to fill up until this number.

    This patch changes the CORB/RIRB WP reads to word instead of byte, and
    add the check of the read value. If it's 0xffff, the controller is
    supposed to be disabled, so the further action will be skipped.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Reducing the time on HDA link reset can help to reduce the driver loading
    time. So we replace msleep with usleep_range to get more accurate time
    control and change the value to a smaller one. And a 100ms timeout is set
    for both entering and exiting the link reset.

    Signed-off-by: Xingchao Wang
    Signed-off-by: Mengdong Lin
    Signed-off-by: Takashi Iwai

    Mengdong Lin
     

10 Dec, 2012

8 commits


09 Dec, 2012

4 commits