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

1 commit

  • 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

3 commits


14 Dec, 2012

2 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
     

13 Dec, 2012

1 commit


12 Dec, 2012

5 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
     
  • 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

2 commits


07 Dec, 2012

6 commits


05 Dec, 2012

1 commit

  • When printing, use a prefix of the PCI domain, bus, device and function
    as in other drivers, to differentiate multiple devices.

    Important for reporting and debugging. A future step is to tidy this up with
    dev_printk et al.

    v2: Move conversion specifier into call site, preventing build issues
    v3: Refactor for Takashi's for-next branch

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

    Daniel J Blueman
     

04 Dec, 2012

1 commit

  • The recent fix for vga switcheroo race in commit 128960a9 opened yet
    another race. At the time the audio driver starts probing, user may
    turn off D-GPU off. But at this moment, the audio driver still
    doesn't register the vga switcheroo client, thus the switching isn't
    notified. Then the hardware gets off out of sudden, resulting in
    invalid reads and lots of "spurious response" error messages.

    For solving this situation, the following changes have been done in
    this patch:
    - Move again vga switcheroo registration to the very early stage of
    the probing; this also requires to set pci drvdata properly before
    registration
    - Introduce the completion to synchronize the driver probe at vga
    switcheroo callbacks; this assures that the whole probing finished
    before executing the callbacks

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

    Takashi Iwai
     

03 Dec, 2012

5 commits


01 Dec, 2012

1 commit


30 Nov, 2012

3 commits


28 Nov, 2012

1 commit

  • This is a preliminary patch for introducing a protection to access
    races of snd_array instances. Call snd_array_init() appropriately
    at the initialization time and don't call it twice.

    Also the allocations of codec-spec structs are cleaned up by helper
    functions in patch_sigmatel.c and patch_analog.c.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

24 Nov, 2012

1 commit


23 Nov, 2012

6 commits