18 Nov, 2008

4 commits


16 Nov, 2008

3 commits

  • Check board preset model instead of codec->subsystem_id in
    patch_92hd71bxx() so that other hardwares configured via the model
    option work like the given model.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Error handling code following a kzalloc should free the allocated data.
    The error handling code is adjusted to call pci_disable_device(pci); as
    well, as done later in the function

    The semantic match that finds the problem is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @r exists@
    local idexpression x;
    statement S;
    expression E;
    identifier f,l;
    position p1,p2;
    expression *ptr != NULL;
    @@

    (
    if ((x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...)) == NULL) S
    |
    x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
    ...
    if (x == NULL) S
    )
    }
    x->f = E
    ...>
    (
    return \(0\|\|ptr\);
    |
    return@p2 ...;
    )

    @script:python@
    p1 << r.p1;
    p2 << r.p2;
    @@

    print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     
  • Changed value for STAC_VREF_EVENT from 0x40 to 0x00 because the
    unsol response value is only 6-bits width and the former value
    was 1<
    Signed-off-by: Takashi Iwai

    Matthew Ranostay
     

13 Nov, 2008

2 commits


12 Nov, 2008

3 commits

  • Takashi Iwai
     
  • Due to the recent change for multiple HP as line-out switch, only
    one of the multiple headphons (usually a wrong one) is toggled
    and the other pins are still disabled. This causes the silent output
    problem on some Dell laptops.

    Also, the hp_switch check is screwed up when a line-in or a mic-in
    jack exists. This is added as an additional output, but hp_switch
    check doesn't take it into account.

    This patch fixes these issues: simplify hp_switch check by using
    the NID instead of bool, and clean up / fix the toggle of HP pins
    in unsol event handler code.

    Reference: Novell bnc#443267
    https://bugzilla.novell.com/show_bug.cgi?id=443267

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The input pins are sometimes not initialized properly because
    of the optimization check of the current pinctl code.

    Force to initialize the mic input pins so that they can be set up
    properly even if they were in a weird state. But keep other input
    pins if already set up as input, since this could be an extra mic
    pin.

    Reference: Novell bnc#443738
    https://bugzilla.novell.com/show_bug.cgi?id=443738

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

11 Nov, 2008

4 commits


10 Nov, 2008

1 commit

  • gusextreme depends on opl3 support. Add the approriate select to Kconfig.
    Also remove the unnecessary hwdep select.

    Relevant build errors:
    ERROR: "snd_opl3_hwdep_new" [sound/isa/gus/snd-gusextreme.ko] undefined!
    ERROR: "snd_opl3_create" [sound/isa/gus/snd-gusextreme.ko] undefined!

    Signed-off-by: Ville Syrjala
    Signed-off-by: Takashi Iwai

    Ville Syrjala
     

09 Nov, 2008

3 commits

  • currently, the error message when trying to run hdspmixer or hdspconf
    if the breakout box is not connected is somehow misleading, since it
    asks the user to upload the firmware.

    this patch adds a test, whether the breakout box is connected and
    tries to upload the firmware in the case, that it is not present, e.g.
    because of power failures of the breakout box.

    [Minor coding-style fixes by tiwai]

    Signed-off-by: Tim Blechmann
    Signed-off-by: Takashi Iwai

    Tim Blechmann
     
  • currently the hdsp driver tries to upload the firmware, even if the
    io box is not connected. this patch adds a check for the io box
    before trying to upload the firmware.
    thus instead of messages complaining about the fifo status and firmware
    loading failure, the driver gives a message that no multiface or
    digiface is connected.

    [A minor coding-style fix by tiwai]

    Signed-off-by: Tim Blechmann
    Signed-off-by: Takashi Iwai

    Tim Blechmann
     
  • Added model=laptop for another HP machine (103c:3614) with AD1884A
    codec.

    Signed-off-by: Michel Marti
    Signed-off-by: Takashi Iwai

    Michel Marti
     

05 Nov, 2008

1 commit


04 Nov, 2008

2 commits

  • Limit the number of GPIOs shown in proc. Otherwise it gets too long
    unnecessarily, and hard to analyze.

    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: make a STAC_DELL_EQ option
    ALSA: emu10k1 - Add more invert_shared_spdif flag to Audigy models
    ALSA: hda - Add a quirk for another Acer Aspire (1025:0090)
    ALSA: remove direct access of dev->bus_id in sound/isa/*
    sound: struct device - replace bus_id with dev_name(), dev_set_name()
    ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker
    ALSA: rawmidi - Add open check in rawmidi callbacks
    ALSA: hda - Add digital-mic for ALC269 auto-probe mode
    ALSA: hda - Disable broken mic auto-muting in Realtek codes

    Linus Torvalds
     

03 Nov, 2008

8 commits


02 Nov, 2008

2 commits

  • We broke O_NONBLOCK handling in OSS dmasound_core in 2.3.11-pre3 - the
    original code copied f_flags to open_mode and then checked for
    O_NONBLOCK in there, but that got changed to copying f_mode and
    O_NONBLOCK has not reached that field in any kernel version.

    Since we do not care for any other bits, the fix is obvious...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • As it is, all instances of ->release() for files that have ->fasync()
    need to remember to evict file from fasync lists; forgetting that
    creates a hole and we actually have a bunch that *does* forget.

    So let's keep our lives simple - let __fput() check FASYNC in
    file->f_flags and call ->fasync() there if it's been set. And lose that
    crap in ->release() instances - leaving it there is still valid, but we
    don't have to bother anymore.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

01 Nov, 2008

2 commits


31 Oct, 2008

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc64: Add missing null terminating entry to bq4802_match[].
    sparc: use the new byteorder headers
    rtc-m48t59: shift zero year to 1968 on sparc (rev 2)
    dbri: check dma_alloc_coherent errors
    sparc64: remove byteshifting from out* helpers

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: ASoC: Fix WM9713 ALC Decay Time name
    ALSA: ASoC: Fix some minor errors in mpc5200 psc i2s driver
    ALSA: ASoC: Fix mono controls after conversion to support full int masks
    ALSA: sound/ice1712: indentation & braces disagree - add braces
    ALSA: usb - Add quirk for Edirol UA-25EX advanced modes
    sound: struct device - replace bus_id with dev_name(), dev_set_name()
    ALSA: hda - Add reboot notifier
    ALSA: Warn when control names are truncated
    ALSA: intel8x0 - add Dell Optiplex GX620 (AD1981B) to AC97 clock whitelist
    ALSA: hda - Fix SPDIF mute on IDT/STAC codecs
    ALSA: hda: Add HDA vendor ID for Wolfson Microelectronics
    ALSA: hda - Add another HP model for AD1884A

    Linus Torvalds
     

30 Oct, 2008

3 commits