22 Mar, 2010

2 commits


20 Mar, 2010

2 commits

  • With the recent system-wide improvements on suspend/resume and EFI
    booting the suspend_resume method of the bcm5974 has broken. When
    waking up from the S3 state on the MacBookAir, the trackpad is found
    in a yet unknown state, unable to switch to the proper multitouch
    mode. The result is a frozen touchpad, and a flood of errors of the
    kind

    bcm5974: bad trackpad package, length: 8.

    This patch retracts the reset_resume method altogether, falling back
    on the generic unbind/rebind functionality of the usb layer until
    further investigations can be made as how to reset the device when
    booting from efi.

    Signed-off-by: Henrik Rydberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     
  • 'map' is allocated in sparse_keymap_setup() and it it the one that should
    be freed on error instead of 'keymap'.

    Signed-off-by: Yong Wang
    Cc: stable@kernel.org
    Signed-off-by: Dmitry Torokhov

    Yong Wang
     

14 Mar, 2010

2 commits


11 Mar, 2010

3 commits

  • Now that the WM831x core has been converted to use genirq for the
    interrupt controller there is no need for the client drivers to
    use a WM831x-specific API rather than just calling genirq directly.

    Also fixes a leak of the IRQ during init failure - the error path
    free_irq() was using NULL rather than the driver data as the data
    pointer so free_irq() wouldn't have matched.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     
  • Add wakeup support to the ads7846 driver. Platforms can enable wakeup
    capability by setting the wakeup flag in ads7846_platform_data. With this
    patch the ads7846 driver can be used to wake the system from suspend.

    Signed-off-by: Ranjith Lohithakshan
    Signed-off-by: Dmitry Torokhov

    Ranjith Lohithakshan
     
  • When reading data from Geyser 2 touchpads used on post Oct 2005 Apple
    PowerBooks the driver was casting X and Y coordinates values to
    'signed char'. Testing on one of such PowerBooks I have noticed that
    touchpad always generates positive values, but some of them are greater
    that 127, and thus, when cast to 'signed char' being interpreted as
    a negative.

    Such bigger values have been observed infrequently, closer to the
    edges of a touchpad, so the problem was not very visible.
    Nevertheless, the patch would potentially improve touchpad
    driver accuracy.

    Signed-off-by: Vadim Zaliva
    Signed-off-by: Dmitry Torokhov

    Vadim Zaliva
     

10 Mar, 2010

7 commits

  • The time interval between consecutive interrupts depends on a number of
    tunables: first_conversion_delay, acquisition_time, averaging and foremost
    the pen_down_acc_interval.

    Since the mod_timer() action for the PEN UP event happens in the
    spi_async() callback function, latencies incurred by the spi bus drivers
    also need to be taken into account.

    So all in all, give the PEN UP event a bit more wiggle room and increase
    timeout to 100ms.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Mike Frysinger
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • The AD7873 is almost identical to the ADS7846; the only difference is
    related to the Power Management bits PD0 and PD1. This results in a
    slightly different PENIRQ enable behavior. For the AD7873, VREF should
    be turned off during differential measurements.

    So, add the AD7873/43 to the list of driver supported devices, and prevent
    VREF usage during differential/ratiometric conversion modes.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Mike Frysinger
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • We need to use the nosync version of disable_irq so that we don't hang in
    the IRQ handler as we don't ACK the interrupt until later. This used to
    work regardless, but at some point, the IRQ behavior changed. Not sure
    when exactly.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Dmitry Torokhov

    Mike Frysinger
     
  • Signed-off-by: Thomas Bächler
    Cc: stable@kernel.org
    Signed-off-by: Dmitry Torokhov

    Thomas Bächler
     
  • Holding the BKL in input_open_file seems pointless because it does not
    protect against updates of input_table, and all open functions from the
    underlying drivers have proper mutex locking.

    This makes input_open_file take the input_mutex when accessing
    the table and no lock when calling into the lower function.

    Signed-off-by: Arnd Bergmann
    Acked-by: Thadeu Lima de Souza Cascardo
    Signed-off-by: Dmitry Torokhov

    Arnd Bergmann
     
  • serio_raw open function already uses a mutex. Also change formatting
    a bit.

    Signed-off-by: Thadeu Lima de Souza Cascardo
    Acked-by: Arnd Bergmann
    Signed-off-by: Dmitry Torokhov

    Thadeu Lima de Souza Cascardo
     
  • There's no need for BKL in mousedev, relevan protection is provided by
    a private mutex.

    Signed-off-by: Thadeu Lima de Souza Cascardo
    Acked-by: Arnd Bergmann
    Signed-off-by: Dmitry Torokhov

    Thadeu Lima de Souza Cascardo
     

09 Mar, 2010

7 commits


08 Mar, 2010

17 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
    [WATCHDOG] i6300esb.c: change platform_driver to pci_driver
    [WATCHDOG] i6300esb: fix unlock register with
    [WATCHDOG] drivers/watchdog/wdt.c:wdt_ioctl(): make `ident' non-static
    [WATCHDOG] change reboot_notifier to platform-shutdown method.
    [WATCHDOG] watchdog_info constify
    [WATCHDOG] gef_wdt: Author corrections following split of GE Fanuc joint venture
    [WATCHDOG] iTCO_wdt: clean up probe(), modify err msg
    [WATCHDOG] ep93xx: watchdog timer driver for TS-72xx SBCs cleanup
    [WATCHDOG] support for max63xx watchdog timer chips
    [WATCHDOG] ep93xx: added platform side support for TS-72xx WDT driver
    [WATCHDOG] ep93xx: implemented watchdog timer driver for TS-72xx SBCs

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (26 commits)
    ALSA: hdmi - show debug message on changing audio infoframe
    ALSA: hdmi - merge common code for intelhdmi and nvhdmi
    ALSA: hda - Add ASRock mobo to MSI blacklist
    ALSA: hda: uninitialized variable fix
    ALSA: hda: Use LPIB for a Biostar Microtech board
    ALSA: usb/audio.h: Fix field order
    ALSA: fix jazz16 compile (udelay)
    ALSA: hda: Use LPIB for Dell Latitude 131L
    ALSA: hda - Build hda_eld into snd-hda-codec module
    ALSA: hda - Support NVIDIA MCP89 and GT21x hdmi audio
    ALSA: hda - Support max codecs to 8 for nvidia hda controller
    ALSA: riptide: clean up while loop
    ALSA: usbaudio - remove debug "SAMPLE BYTES" printk line
    ALSA: timer - pass real event in snd_timer_notify1() to instance callback
    ALSA: oxygen: change || to &&
    ALSA: opti92x: use PnP data to select Master Control port
    ASoC: fix ak4104 register array access
    ASoC: soc_pcm_open: Add missing bailout tag
    ALSA: usbaudio: Fix wrong bitrate for Creative Creative VF0470 Live Cam
    ALSA: ua101: removing debugging code
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6:
    [S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents
    [S390] smsgiucv: declare char pointers as "const"
    [S390] dasd: automatic recognition of read-only devices
    [S390] remove unused qdio flags in zfcp and qeth
    [S390] Cleanup xtime usage
    [S390] qdio: add missing bracket
    [S390] cio: fix init_count in case of recognition after steal lock
    [S390] dasd: security and PSF update patch for EMC CKD ioctl
    [S390] hvc_iucv: allocate memory buffers for IUCV in zone DMA
    [S390] uaccess: make sure copy_from_user_overflow is builtin

    Linus Torvalds
     
  • Remove the EXPERIMENTAL flag from FS-Cache so that Ubuntu can make use of the
    facility.

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

    Christian Kujau
     
  • Since the intel 6300esb platform uses a dedicated PCI ID for
    it's watchdog timer (00:1d.4), it's better and easier to have
    this as a pci_driver.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • The smsgiucv_app driver registers a callback with the smsgiucv driver
    to receive z/VM CP special messages (SMSG) starting with "APP".

    When the callback is called for special messages, the driver creates
    an uevent for the received message. The uevent consists of additional
    environment data containing the message prefix ("APP"), message sender,
    and message content.

    udev rules can be used to trigger application specific actions through
    matching the content or sender of the special message.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • Declare the smsgiucv prefix char pointer as "const" and use
    use const char pointers in callback functions.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • In z/VM it is possible to attach a device as read-only. To prevent
    unintentional write requests and subsequent I/O errors, we can detect
    this configuration using the z/VM DIAG 210 interface and set the
    respective linux block device to read-only as well.

    Signed-off-by: Stefan Weinhuber
    Signed-off-by: Martin Schwidefsky

    Stefan Weinhuber
     
  • zfcp and qeth are setting flags for the qdio-layer, but these flags
    are not used in qdio. Patch removes the flag definitions from qdio
    and their settings in zfcp and qeth.

    Cc: Jan Glauber
    Cc: Christof Schmitt
    Signed-off-by: Ursula Braun
    Signed-off-by: Martin Schwidefsky

    Ursula Braun
     
  • This replaces direct xtime usage in the s390 arch with timekeeping accessors,
    so we can further clean up the timekeeping core.

    Cc: Thomas Gleixner
    Signed-off-by: John Stultz
    Signed-off-by: Martin Schwidefsky

    John Stultz
     
  • Add a missing bracket to only log the outbound handler event in the
    appropriate case.

    Signed-off-by: Ursula Braun
    Signed-off-by: Jan Glauber
    Signed-off-by: Martin Schwidefsky

    Ursula Braun
     
  • After we try to steal a lock on a ccw device in boxed state,
    we have to restart device recognition and potentially reprobing.

    In this case ccw_device_init_count was erroneously decreased
    twice. This patch fixes the issue.

    Signed-off-by: Sebastian Ott
    Signed-off-by: Martin Schwidefsky

    Sebastian Ott
     
  • Remove the PSF order/suborder check from the Symmetrix CKD dasd ioctl.
    In exchange restrict the ioctl to CAP_SYS_ADMIN and CAP_SYS_RAWIO.

    Signed-off-by: Nigel Hislop
    Signed-off-by: Martin Schwidefsky

    Nigel Hislop
     
  • The device driver must allocate memory for IUCV buffers with GFP_DMA,
    because IUCV cannot address memory above 2GB (31bit addresses only).

    Because the IUCV ignores the higher bits of the address, sending and
    receiving IUCV data with this driver might cause memory corruptions.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • If there is no in kernel image caller modules will suffer:

    ERROR: "copy_from_user_overflow" [net/core/pktgen.ko] undefined!
    ERROR: "copy_from_user_overflow" [net/can/can-raw.ko] undefined!
    ERROR: "copy_from_user_overflow" [fs/cifs/cifs.ko] undefined!

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Before you can read or write from the i6300esb memeory mapped registers,
    you need to unlock these. This is done by writing the magic numbers 0x80
    and 0x86 to the reload register. The size of the reload register is 32bit
    though.

    Also binary 11 is hex 0x03 and not 0x11.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • Takashi Iwai