01 Dec, 2008

4 commits

  • This reverts commit e669dae6141ff97d3c7566207f5de3b487dcf837, since it
    is incomplete, and clashes with fuller patches and the sparc 32/64
    unification effort.

    Requested-by: David Miller
    Acked-by: Al Viro
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    powerpc: Fix system calls on Cell entered with XER.SO=1
    powerpc/cell: Fix GDB watchpoints, again
    powerpc/mpic: Don't reset affinity for secondary MPIC on boot
    powerpc/cell/axon-msi: Retry on missing interrupt
    powerpc: Fix boot freeze on machine with empty memory node
    powerpc: Fix IRQ assignment for some PCIe devices
    powerpc/spufs: Fix spinning in spufs_ps_fault on signal
    powerpc/mpc832x_rdb: fix swapped ethernet ids
    powerpc: Use generic PHY driver for Marvell 88E1111 PHY on GE Fanuc SBC610
    powerpc/85xx: L2 cache size wrong in 8572DS dts
    powerpc/virtex: Update defconfigs
    powerpc/52xx: update defconfigs
    xsysace: Fix driver to use resource_size_t instead of unsigned long
    powerpc/virtex: fix various format/casting printk mismatches
    powerpc/mpc5200: fix bestcomm Kconfig dependencies
    powerpc/44x: Fix 460EX/460GT machine check handling
    powerpc/40x: Limit allocable DRAM during early mapping

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Check model for Dell 92HD73xx laptops
    ALSA: hda - mark Dell studio 1535 quirk
    ALSA: hda - No 'Headphone as Line-out' swich without line-outs
    ALSA: hda - Fix AFG power management on IDT 92HD* codecs
    ALSA: hda - Fix caching of SPDIF status bits
    ALSA: hda - Add a quirk for Dell Studio 15
    ALSA: hda: Add STAC_DELL_M4_3 quirk
    sound/sound_core: Fix sparse warnings
    ALSA: hda: STAC_DELL_M6 EAPD

    Linus Torvalds
     
  • switch to __init for those; unlike powerpc sparc has no hotplug support
    for that stuff and their ->probe() tends to call __init functions while
    being declared __devinit.

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

    Al Viro
     

26 Nov, 2008

1 commit


25 Nov, 2008

5 commits


24 Nov, 2008

1 commit


21 Nov, 2008

5 commits


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
     

14 Nov, 2008

1 commit


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