11 Feb, 2011

3 commits


09 Feb, 2011

1 commit

  • The commit 53d7d69d8ffdfa60c5b66cc2e9ee0774aaaef5c0
    ALSA: hdmi - support infoframe for DisplayPort
    dropped the initialization of CA field accidentally.
    This resulted in only two-channel LPCM mode on Nvidia machines.

    Reference: kernel bug 28592
    https://bugzilla.kernel.org/show_bug.cgi?id=28592

    Signed-off-by: Takashi Iwai
    Cc:

    Takashi Iwai
     

07 Feb, 2011

1 commit


03 Feb, 2011

1 commit

  • The Conexant codec driver adds the jack arrays in init callback which
    may be called also in each PM resume. This results in the addition of
    new jack element at each time.

    The fix is to check whether the requested jack is already present in
    the array.

    Reference: Novell bug 668929
    https://bugzilla.novell.com/show_bug.cgi?id=668929

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

31 Jan, 2011

2 commits


28 Jan, 2011

1 commit


26 Jan, 2011

2 commits


25 Jan, 2011

2 commits

  • Cleanly revert to non-macro implementation of
    snd_azf3328_codec_setfmt(), to fix last-minute functionality breakage
    induced by following checkpatch.pl recommendations without giving them
    their due full share of thought ("revolting computer, ensuing PEBKAC").

    I would like to thank Jiri Slaby for his very timely (in -rc1 even)
    and unexpected (uncommon hardware) "recognition of the dangerous situation"
    due to his very commendable static parser use. :)

    Reported-by: Jiri Slaby
    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai

    Andreas Mohr
     
  • Changed the Asus A52J quirk to use the asus model instead of the
    hp_laptop model, which fixes the external mic input. Added an Asus
    U50F quirk to use the asus model. For the cxt5066 codecs, added
    checking of the digital output pins to determine which digital output
    nodes to use instead of always using node 0x21, since some systems
    have node 0x12 connected to a SPDIF out jack.

    [A slight modification for better readability by tiwai]

    Signed-off-by: Andy Robinson
    Signed-off-by: Takashi Iwai

    Andy Robinson
     

23 Jan, 2011

3 commits

  • BugLink: http://bugs.launchpad.net/bugs/701271

    This new model, named "asus", is identical to the "hp_laptop" model,
    except for the location of the internal mic, which is at pin 0x1a.
    It is used for Asus K52JU and Lenovo G560.

    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • Four very similar procedures - one for each model - now
    refactored into one. This isn't all duplicated code, but a step
    in the right direction.

    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • 'cs4398_regs' in 'struct xonar_cs43xx' is an array of 'u8' with a size of
    8. So, this code in sound/pci/oxygen/xonar_cs43xx.c::dump_d1_registers()

    for (i = 2; i cs4398_regs[i]);

    will overrun the array when 'i == 8'.

    I guess that what's needed to fix it is the trivial patch below, but I
    must admit that I have no idea about this code, so I may very well be
    wrong. Additionally, I have no way to actually test this, so all I know is
    that the below compiles. Someone who actually knows this code should take
    a look before anything is comitted - consider the below (not much more
    than) a bug report.

    Signed-off-by: Jesper Juhl
    Acked-by: Clemens Ladisch

    Jesper Juhl
     

21 Jan, 2011

1 commit


20 Jan, 2011

4 commits


19 Jan, 2011

2 commits

  • This reverts commit 03b7a1ab557efe34e8f79b78660e514bd7374248.

    This commit was mistakenly re-introduced. While the change is harmless
    (as ALC887 uses patch_alc888() now), we should get rid of any wrong code.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Fix initialization for HP 2011 notebooks
    ALSA: hda - Add support for VMware controller
    ALSA: hda - consitify string arrays
    ALSA: hda - Add add multi-streaming playback for AD1988
    ASoC: EP93xx: fixed LRCLK rate and DMA oper. in I2S code
    ASoC: WM8990: msleep() takes milliseconds not jiffies
    ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu
    ALSA: constify functions in ac97
    ASoC: WL1273 FM radio: Fix breakage with MFD API changes
    ALSA: hda - More coverage for odd-number channels elimination for HDMI
    ALSA: hda - Store PCM parameters properly in HDMI open callback
    ALSA: hda - Rearrange fixup struct in patch_realtek.c
    ALSA: oxygen: Xonar DG: fix CS4245 register writes
    ALSA: hda - Suppress the odd number of channels for HDMI
    ALSA: hda - Add fixup-call in init callback
    ALSA: hda - Reorganize fixup structure for Realtek
    ALSA: hda - Apply Sony VAIO hweq fixup only once
    ALSA: hda - Apply mario fixup only once
    ALSA: hda - Remove unused fixup entry for ALC262

    Linus Torvalds
     

18 Jan, 2011

6 commits

  • The driver was using an initial value for the clock on the SPI bus
    which was read from ICE1712 EEPROM,
    ice->eeprom.data[ICE_EEP1_GPIO_STATE] & ICE1712_DELTA_AP_CCLK (0x02)

    It appears some cards have it default high, some cards
    have it default low. On my Delta 66 rev. E:
    $ cat /proc/asound/M66/ice1712 | grep 'GPIO state'
    GPIO state : 0x70 /* ICE1712_DELTA_AP_CCLK bit is zero */
    On my Audiophile 2496:
    $ cat /proc/asound/M2496/ice1712 | grep 'GPIO state'
    GPIO state : 0xfe /* ICE1712_DELTA_AP_CCLK bit is one */

    It must be raised before the first SPI write happens, or the write will
    fail, leading to:

    [ 23.248721] invalid CS8427 signature 0x0: let me try again...

    I theorize that 4eb4550ab37d351ab0973ccec921a5a2d8560ec7
    is no longer needed, it was a different way to workaround
    the problem.

    [fixed variable decleration by tiwai]

    Signed-off-by: Brian Bloniarz
    Signed-off-by: Takashi Iwai

    Brian Bloniarz
     
  • Takashi Iwai
     
  • Fixes for HP 2011 notebooks: enable dock ports and disable BTL
    initialization in the driver.

    Signed-off-by: Vitaliy Kulikov
    Signed-off-by: Takashi Iwai

    Vitaliy Kulikov
     
  • Add the new PCI ID 0x15ad and device ID 0x1977 for VMware HDAudio
    Controller.

    [changed to use AZX_DRIVER_GENERIC by tiwai]

    Signed-off-by: Bankim Bhavsar
    Signed-off-by: Takashi Iwai

    Bankim Bhavsar
     
  • Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Attached a patch which add a new model to support multi-streaming
    playback for ad1988.

    playback another stereo stream through the front panel headphone on
    device 2 while playback through the speakers connected to rear panel
    on device 0 at the same time.

    Tested with ad1988a rev2 codec on asus P5B-V motherboard.

    Signed-off-by: Raymond Yau
    Signed-off-by: Takashi Iwai

    Raymond Yau
     

17 Jan, 2011

1 commit


15 Jan, 2011

2 commits

  • Signed-off-by: Hanno Boeck
    Signed-off-by: Takashi Iwai

    Hanno Boeck
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI/PM: Report wakeup events before resuming devices
    PCI/PM: Use pm_wakeup_event() directly for reporting wakeup events
    PCI: sysfs: Update ROM to include default owner write access
    x86/PCI: make Broadcom CNB20LE driver EMBEDDED and EXPERIMENTAL
    x86/PCI: don't use native Broadcom CNB20LE driver when ACPI is available
    PCI/ACPI: Request _OSC control once for each root bridge (v3)
    PCI: enable pci=bfsort by default on future Dell systems
    PCI/PCIe: Clear Root PME Status bits early during system resume
    PCI: pci-stub: ignore zero-length id parameters
    x86/PCI: irq and pci_ids patch for Intel Patsburg
    PCI: Skip id checking if no id is passed
    PCI: fix __pci_device_probe kernel-doc warning
    PCI: make pci_restore_state return void
    PCI: Disable ASPM if BIOS asks us to
    PCI: Add mask bit definition for MSI-X table
    PCI: MSI: Move MSI-X entry definition to pci_regs.h

    Fix up trivial conflicts in drivers/net/{skge.c,sky2.c} that had in the
    meantime been converted to not use legacy PCI power management, and thus
    no longer use pci_restore_state() at all (and that caused trivial
    conflicts with the "make pci_restore_state return void" patch)

    Linus Torvalds
     

14 Jan, 2011

7 commits

  • The commit ad09fc9d2156f3d37537b34418a6b79309013d33 didn't cover the
    case for Intel and Nvidia HDMIs, where hdmi_pcm_open() is called.
    Put the hw_constraint there, too.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • In hdmi_pcm_open(), the evaluated PCM hw parameters are stored in
    hinfo, but these aren't properly set back to the current runtime
    record since these have been set beforehand in azx_pcm_open().
    This patch fixes the behavior.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Accidentally exchanging register addresses and register values leads to
    many strange errors ...

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     
  • It looks like that HDMI codecs don't support the odd number of channels
    although HD-audio spec doesn't have the restriction. Add the
    hw_constraint to limit to only the even number of channels.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (348 commits)
    ALSA: hda - Fix NULL-derefence with a single mic in STAC auto-mic detection
    ALSA: hda - Add missing NID 0x19 fixup for Sony VAIO
    ALSA: hda - Fix ALC275 enable hardware EQ for SONY VAIO
    ALSA: oxygen: fix Xonar DG input
    ALSA: hda - Fix EAPD on Lenovo NB ALC269 to low
    ALSA: hda - Fix missing EAPD for Acer 4930G
    ALSA: hda: Disable 4/6 channels on some NVIDIA GPUs.
    ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser
    ALSA: hda - Don't refer ELD when unplugged
    ASoC: tpa6130a2: Fix compiler warning
    ASoC: tlv320dac33: Add DAPM selection for LOM invert
    ASoC: DMIC codec: Adding a generic DMIC codec
    ALSA: snd-usb-us122l: Fix missing NULL checks
    ALSA: snd-usb-us122l: Fix MIDI output
    ASoC: soc-cache: Fix invalid memory access during snd_soc_lzo_cache_sync()
    ASoC: Fix section mismatch in wm8995.c
    ALSA: oxygen: add S/PDIF source selection for Claro cards
    ALSA: oxygen: fix CD/MIDI for X-Meridian (2G)
    ASoC: fix migor audio build
    ALSA: include delay.h for msleep in Xonar DG support
    ...

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    Documentation/trace/events.txt: Remove obsolete sched_signal_send.
    writeback: fix global_dirty_limits comment runtime -> real-time
    ppc: fix comment typo singal -> signal
    drivers: fix comment typo diable -> disable.
    m68k: fix comment typo diable -> disable.
    wireless: comment typo fix diable -> disable.
    media: comment typo fix diable -> disable.
    remove doc for obsolete dynamic-printk kernel-parameter
    remove extraneous 'is' from Documentation/iostats.txt
    Fix spelling milisec -> ms in snd_ps3 module parameter description
    Fix spelling mistakes in comments
    Revert conflicting V4L changes
    i7core_edac: fix typos in comments
    mm/rmap.c: fix comment
    sound, ca0106: Fix assignment to 'channel'.
    hrtimer: fix a typo in comment
    init/Kconfig: fix typo
    anon_inodes: fix wrong function name in comment
    fix comment typos concerning "consistent"
    poll: fix a typo in comment
    ...

    Fix up trivial conflicts in:
    - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
    - fs/ext4/ext4.h

    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.

    Linus Torvalds
     

13 Jan, 2011

1 commit

  • In some cases, the fix-up is required in the init callback to be called
    both at the first initialization and at the resume. The new action type
    ALC_FIXUP_ACT_INIT is used for this case.

    So far, only ALC275_FIXUP_SONY_HWEQ uses this.

    Signed-off-by: Takashi Iwai

    Takashi Iwai