23 Feb, 2008

16 commits

  • The driver gets Oops with ATI HDMI devices due to the wrong calculation
    of index for playback streams. This patch fixes it. Reference:
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3746

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Fix following warning:
    WARNING: vmlinux.o(.text+0x11ec01a): Section mismatch in reference from the function setup_card() to the function .devinit.text:snd_usb_caiaq_control_init()

    setup_card() are only used by init_card().
    init_card() are only used by snd_probe()
    snd_probe() are used for the .probe parameter in usb_driver.probe

    Annotate them all __devinit to fix the warning.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Sam Ravnborg
     
  • Pin widgets have always one amp-input value regardless of number of
    connections. The proc file showed values wrongly.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • The capture source selection for ADC list with two elements is buggy
    becaues of a wrong capture mux list. This patch fixes the starting
    index based on spec->num_adc_nids.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • The widget list of capture source selection for ALC883 contains the
    wrong NIDs.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Don't create vmaster controls if no slaves are found in the given list.
    This prevents the error due to an empty vmaster control.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Attached patch fix race condition in hd_codec generic bound volume/swtich
    controls

    oops on this bug can be easy reproduced by two mixer apps on SMP system with
    PREEMPT kernel

    dmesg:

    ALSA /home/ss/ALSA/alsa-driver-1.0.16/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:596:
    hda_intel: azx_get_response timeout, switching to polling mode: las
    t cmd=0x014f0900
    BUG: unable to handle kernel paging request at virtual address 00070006
    printing eip: f8f43e95 *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    Modules linked in: i915 drm snd_seq_dummy snd_seq_oss snd_seq_midi_event
    snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss bnep rfcomm hidp l2cap
    bluetooth w
    lan_wep acpi_cpufreq coretemp hwmon mmc_block pcspkr psmouse wlan_scan_sta
    ath_rate_sample snd_hda_intel ath_pci serio_raw wlan tg3 sdhci snd_pcm
    firewire_o
    hci mmc_core i2c_i801 snd_timer firewire_core snd_page_alloc ath_hal(P)
    snd_hwdep snd iTCO_wdt crc_itu_t iTCO_vendor_support shpchp video output
    acer_acpi b
    acklight led_class wmi_acer

    Pid: 3969, comm: gkrellm Tainted: P (2.6.24-jm #4)
    EIP: 0060:[] EFLAGS: 00010292 CPU: 0
    EIP is at snd_hda_mixer_bind_ctls_info+0x20/0x43 [snd_hda_intel]
    EAX: 00000000 EBX: f7478e00 ECX: f763e000 EDX: f764f788
    ESI: 00070002 EDI: edce5e00 EBP: edc3fe64 ESP: edc3fe54
    DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    Process gkrellm (pid: 3969, ti=edc3e000 task=f1e4e000 task.ti=edc3e000)
    Stack: f764f77c f7478e00 edce5e00 f6dd6000 edc3fe84 f8e590e8 edc7a239 f6d14034
    f764f34c f6c0f7e0 edc3ff30 f6d14034 edc3fea8 f8e591b7 edc3ff30 edc3ff2c
    00000000 f70aa668 f6d14034 f8e59165 bfbfadb0 edc3ff40 f8e587aa edc3ff2c
    Call Trace:
    [] show_trace_log_lvl+0x1a/0x2f
    [] show_stack_log_lvl+0x9d/0xa5
    [] show_registers+0xa4/0x1bd
    [] die+0x122/0x206
    [] do_page_fault+0x535/0x623
    [] error_code+0x72/0x78
    [] snd_mixer_oss_get_volume1_vol+0x74/0xf1 [snd_mixer_oss]
    [] snd_mixer_oss_get_volume1+0x52/0xa5 [snd_mixer_oss]
    [] snd_mixer_oss_ioctl1+0x673/0x71e [snd_mixer_oss]
    [] snd_mixer_oss_ioctl+0xb/0xd [snd_mixer_oss]
    [] do_ioctl+0x22/0x67
    [] vfs_ioctl+0x237/0x24a
    [] sys_ioctl+0x31/0x4b
    [] syscall_call+0x7/0xb
    =======================
    Code: 3f 49 c7 89 f8 59 5b 5e 5f 5d c3 55 89 e5 57 89 d7 56 53 89 c3 83 ec 04
    8b 70 5c 8b 40 60 05 7c 01 00 00 89 45 f0 e8 c0 3f 49 c7 46 04 89 fa 89
    4
    3 5c 89 d8 8b 0e ff 11 89 73 5c 89 c7 8b 45
    EIP: [] snd_hda_mixer_bind_ctls_info+0x20/0x43 [snd_hda_intel]
    SS:ESP 0068:edc3fe54
    ---[ end trace 0a20bc209e9397cc ]---

    similar issue report present in ALSA bugtracking system
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3652

    Signed-off-by: Serge A. Suchkov
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Serge A. Suchkov
     
  • In linus' git tree I found this problem. Is it also in the alsa tree?
    please confirm it's the right fix. The patch was not yet tested.

    Signed-off-by: Roel Kluin
    Acked-by: Timur Tabi
    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Roel Kluin
     
  • The GPIO pin 0 of the CM9780 must be set when muting the line input even
    on non-Xonar cards.

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

    Clemens Ladisch
     
  • Fixed the SPDIF output on Conexant Cx5045 codec. Added the missing
    pin output setting and fixed the wrong NID for digital audio-out widget.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • This patch enables snoop on Intel SCH chipset, eliminating static during
    playback.

    Signed-off-by: Tobin Davis
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Removed invalid __devinit from hdsp_request_fw_loader() and
    snd_hwdep_create_hwdep() that aren't always init functions.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Removed invalid __devinit and __devexit that are remaining after
    split to a helper module.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • The driver resubmits URBs from an error handler and schedules the error
    handler from the URBs' completion handlers. To reliably kill the cycle
    a flag must be used.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • Add proper ifdef's to the patch loading code moved from the old instr
    layer so that opl3 driver can be compiled without the sequencer support.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • It's always been broken, but recent fixes actually made it do something,
    and now the brokenness shows up as the resulting kernel simply not
    working at all.

    So it used to be that you could enable this config option, and it just
    didn't do anything. Now we'd better stop people from enabling it by
    mistake, since it _does_ do something, but does it so badly as to be
    unusable.

    Code to actually make it work is pending, but incomplete and won't be
    merged into 2.6.25 in any case.

    Acked-by: Arjan van de Ven
    Acked-by: Sam Ravnborg
    Cc: James Morris
    Cc: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

22 Feb, 2008

24 commits

  • Simple typo fix for regression introduced by the user_regset changes.

    Signed-off-by: Roland McGrath
    Signed-off-by: Linus Torvalds

    Roland McGrath
     
  • * 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    Wrap buffers used for rpc debug printks into RPC_IFDEBUG
    nfs: fix sparse warnings
    NFS: flush signals before taking down callback thread

    Linus Torvalds
     
  • Fix macro argument substitution in PageHead() and PageTail() - 'page' should
    have brackets surrounding it (commit 6d7779538f765963ced45a3fa4bed7ba8d2c277d).

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Shannon Nelson replaced by Maciej Sosnowski in maintanance of
    INTEL I/OAT DMA DRIVER, DMA GENERIC ENGINE SUBSYSTEM
    and ASYNCHRONOUS TRANSFERS/TRANSFORMS API.

    Signed-off-by: Maciej Sosnowski
    Signed-off-by: Shannon Nelson
    Signed-off-by: Linus Torvalds

    Maciej Sosnowski
     
  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
    hwmon: normal_i2c arrays should be const
    hwmon: New driver for Analog Devices ADT7473 sensor chip
    hwmon: (coretemp) Add Penryn CPU to coretemp
    hwmon: (coretemp) Add TjMax detection for mobile CPUs
    hwmon: (applesmc) sensors set for MacBook2
    hwmon: (thmc50) Storage class should be before const qualifier
    hwmon: (coretemp) fix section mismatch warning
    hwmon: (coretemp) Add maximum cooling temperature readout
    hwmon: (adm1026) Properly terminate sysfs groups
    hwmon: (vt8231) Update maintainer email address
    hwmon: (vt8231) Add individual alarm files
    hwmon: (via686a) Add individual alarm files
    hwmon: (smsc47m1) Add individual alarm files
    hwmon: (max1619) Add individual alarm and fault files
    hwmon: (lm92) Add individual alarm files

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (26 commits)
    PM: Make suspend_device() static
    PCI ACPI: Fix comment describing acpi_pci_choose_state
    Hibernation: Handle DEBUG_PAGEALLOC on x86
    ACPI: fix build warning
    ACPI: TSC breaks atkbd suspend
    ACPI: remove is_processor_present prototype
    acer-wmi: Add DMI match for mail LED on Acer TravelMate 4200 series
    ACPI: sparse fix, replace macro with static function
    ACPI: thinkpad-acpi: add tablet-mode reporting
    ACPI: thinkpad-acpi: minor hotkey_radio_sw fixes
    ACPI: thinkpad-acpi: improve thinkpad-acpi input device documentation
    ACPI: thinkpad-acpi: issue input events for tablet swivel events
    ACPI: thinkpad-acpi: make the video output feature optional
    ACPI: thinkpad-acpi: synchronize input device switches
    ACPI: thinkpad-acpi: always track input device open/close
    ACPI: thinkpad-acpi: trivial fix to documentation
    ACPI: thinkpad-acpi: trivial fix to module_desc typo
    intel_menlo: extract return values using PTR_ERR
    ACPI video: check for error from thermal_cooling_device_register
    ACPI thermal: extract return values using PTR_ERR
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    modules: do not try to add sysfs attributes if !CONFIG_SYSFS
    POWERPC: fix typo in pseries/power.c
    PM: Remove unbalanced mutex_unlock() from dpm_resume()
    UIO: fix Greg's stupid changes
    stable_kernel_rules: fix must already be in mainline
    ide: mark "ide=reverse" option as obsolete
    Driver core: Fix error handling in bus_add_driver().
    driver-core: fix kernel-doc function parameters
    cpufreq: fix kobject reference count handling
    slabinfo: fall back from /sys/kernel/slab to /sys/slab
    Fix broken utf-8 encodings in ja_JP translation of stable_kernel_rules.txt

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6:
    PCI: Fix wrong reference counter check for proc_dir_entry
    PCI: fix up setup-bus.c #ifdef
    PCI: don't load acpi_php when acpi is disabled
    PCI: quirks: set 'En' bit of MSI Mapping for devices onHT-based nvidia platform
    PCI: kernel-doc: fix pci-acpi warning
    PCI: irq: patch for Intel ICH10 DeviceID's
    PCI: pci_ids: patch for Intel ICH10 DeviceID's
    PCI: AMD SATA IDE mode quirk
    PCI: drivers/pcmcia/i82092.c: fix up after pci_bus_region changes
    PCI: hotplug: acpiphp_ibm: Remove get device information

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (23 commits)
    ehci-fsl: add PPC_MPC837x to default y
    USB: POWERPC: ehci: fix ppc build
    USB: usb-storage: don't access beyond the end of the sg buffer
    USB: quirks and unusual_devs entry for Actions flash drive
    USB: usb-storage: unusual_devs entry for Oracom MP3 player
    USB: serial: move zte MF330 from sierra to option
    USB: add new vernier product id to ldusb.c
    USB: gadget: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message
    USB: Add another Novatel U727 ID to the device table for usbserial
    USB: storage: Nikon D80 new FW still needs Fixup
    USB: usb-storage: don't clear-halt when Get-Max-LUN stalls
    USB: option: Added vendor id for Dell 5720 broadband modem
    USB: option: Add Kyocera KPC680 ids
    USB: quirks for known quirky audio devices
    USB: fix previous sparse fix which was incorrect
    USB: fix error handling in trancevibrator
    USB: g_printer, fix empty if statement
    USB: ehci-fsl: mpc834x config symbol is PPC_MPC834x, not MPC834x
    USB: fix usb open suspend race in cdc-acm
    USB: usb: yet another Dell wireless CDMA/EVDO modem
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
    dlm: update git tree in MAINTAINERS
    dlm: fix rcom_names message to self

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4835/1: Fix stale comment in struct machine_desc description
    [ARM] 4829/1: add .get method to pxa-cpufreq to silence a warning
    [ARM] 4828/1: fix 3 warnings in drivers/video/pxafb.c
    [ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c
    [ARM] 4826/1: Orion: Register the RTC interrupt on the TS-209
    [ARM] pxa: fix clock lookup to find specific device clocks

    Linus Torvalds
     
  • The below implements the getgeo hook for Xen block devices. Extracted
    from the xen-unstable tree where it has been used for ages.

    It is useful to have because it allows things like grub2 (used by the
    Debian installer images) to work in a guest domain without having to
    sprinkle Xen specific hacks around the place.

    Signed-off-by: Ian Campbell
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Linus Torvalds

    Ian Campbell
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] pasemi: Remove warning in mpic_pasemi_msi.c
    [POWERPC] pasemi: Register i2c devices at boot
    [POWERPC] cell: fix spurious false return from spu_trap_data_{map,seg}
    [POWERPC] Fix warning in pseries/power.c
    [POWERPC] Fix bootwrapper builds with older gcc versions
    [POWERPC] Fix dt_mem_next_cell() to read the full address
    [POWERPC] Kill sparse warnings in kprobes
    [POWERPC] spufs: fix scheduler starvation by idle contexts
    [POWERPC] 44x: Add multiplatform defconfig
    [POWERPC] 44x: Fix Kconfig formatting
    [POWERPC] 4xx: Update defconfigs for 2.6.25
    [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts
    [POWERPC] PPC440EP Interrupt Triggering and Level Settings
    [POWERPC] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

    Linus Torvalds
     
  • Sorry for the noise, but here's the v3 of this compilation fix :)

    There are some places, which declare the char buf[...] on the stack
    to push it later into dprintk(). Since the dprintk sometimes (if the
    CONFIG_SYSCTL=n) becomes an empty do { } while (0) stub, these buffers
    cause gcc to produce appropriate warnings.

    Wrap these buffers with RPC_IFDEBUG macro, as Trond proposed, to
    compile them out when not needed.

    Signed-off-by: Pavel Emelyanov
    Acked-by: J. Bruce Fields
    Signed-off-by: Trond Myklebust

    Pavel Emelyanov
     
  • This patch converts USB_EHCI_FSL config option into the verbose
    bool, so we'll able to select it for other freescale processors
    with built-in EHCI controller.

    Signed-off-by: Anton Vorontsov
    Cc: Kumar Gala
    Signed-off-by: Greg Kroah-Hartman

    Anton Vorontsov
     
  • Currently, this setup:
    CONFIG_USB_ARCH_HAS_EHCI=y
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB_EHCI_HCD_PPC_OF=y

    Will fail to build:
    CC drivers/usb/host/ehci-hcd.o
    drivers/usb/host/ehci-hcd.c:1018:2: error: #error "missing bus glue for ehci-hcd"
    make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1

    ehci-hcd.c actually contains OF_PLATFORM_DRIVER glue, so error is bogus.

    Signed-off-by: Anton Vorontsov
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Anton Vorontsov
     
  • This patch (as1035) fixes a bug in usb_stor_access_xfer_buf() (the bug
    was originally found by Boaz Harrosh): The routine must not attempt to
    write beyond the end of a scatter-gather list or beyond the number of
    bytes requested. It also fixes up the formatting of a few comments
    and similar whitespace issues.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1033) adds a quirks entry and an unusual_devs entry for
    the Actions Semiconductor flash drive. This device has a 64-byte
    string descriptor, which it doesn't terminate with a 0-length packet.

    Oddly enough, the reporter's logs show that when the device was
    plugged in at boot time, it changes its behavior completely -- it uses
    a different product ID, product string descriptor, and bDeviceClass.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1034) was written by Leonid Petrov, reported by Robert
    Spitzenpfeil, and updated by me. It adds an unusual_devs entry with
    the IGNORE_RESIDUE flag for the Oracom MP3 player. Together with the
    change to the Get-Max-LUN routine in as1032, it makes the player usable.

    Signed-off-by: Alan Stern
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Robert Spitzenpfeil
     
  • Move the Onda H600/ZTE MF33 device from the sierra driver to the option
    driver.

    The reason it was moved is because the sierra driver is starting to support
    more and more sierra proprietary features, so it makes more sense to keep
    sierra only devices in there.

    Signed-off-by: Kevin Lloyd
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Kevin Lloyd
     
  • I have a new ldusb device to go into the device table. Jiri has merged
    the change for hiddev quirks already.

    From: Stephen Ware
    Signed-off-by: Greg Kroah-Hartman

    Stephen Ware
     
  • commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which
    prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This
    breaks the RNDIS initialization (especially / only Windoze machines
    dislike this behavior...).

    Signed-off-by: Benedikt Spranger
    Signed-off-by: Jan Altenberg
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Jan Altenberg
     
  • Signed-off-by: Warren Turkal
    Signed-off-by: Greg Kroah-Hartman

    Warren Turkal
     
  • Add new BCD numbers for Nikon D80 Firmware revision v1.10 to the
    unusual_devs.h file.

    Signed-off-by: Konstantin Kletschke
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Konstantin Kletschke