24 Jun, 2006

2 commits


23 Jun, 2006

2 commits

  • Pass the POSIX lock owner ID to the flush operation.

    This is useful for filesystems which don't want to store any locking state
    in inode->i_flock but want to handle locking/unlocking POSIX locks
    internally. FUSE is one such filesystem but I think it possible that some
    network filesystems would need this also.

    Also add a flag to indicate that a POSIX locking request was generated by
    close(), so filesystems using the above feature won't send an extra locking
    request in this case.

    Signed-off-by: Miklos Szeredi
    Cc: Trond Myklebust
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Dump the extra mapping in the amikbd interrupt handler, so old Amiga keymaps
    work again. Amigas need a special keymap anyway, standard keymaps are not
    usable and recreating all keymaps is simply not worth the trouble.

    Signed-off-by: Roman Zippel
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Zippel
     

30 May, 2006

6 commits


27 May, 2006

1 commit

  • This improves accuracy of the touchscreen and hwmon sensor readings,
    addressing an issue noted by Imre Deak: there's an extra bit written before
    the sample (12 bits) gets written out.

    It also catches up to various comments, and makes the /proc/interrupts
    entry sensible again.

    Signed-off-by: David Brownell
    Cc: Imre Deak
    Cc: Jean Delvare
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

05 May, 2006

1 commit


01 May, 2006

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: make EVIOCGSND return meaningful data
    Input: ressurect EVIOCGREP and EVIOCSREP
    Input: psmouse - fix new device detection logic
    Input: move input_device_id to mod_devicetable.h
    Input: allow using several chords for braille
    Input: allow passing NULL to input_free_device()
    Input: spitzkbd - fix the reversed Address and Calender keys
    Input: ads7846 - improve filtering for thumb press accuracy
    Input: ads7846 - report 0 pressure value along with pen up event
    Input: ads7846 - handle IRQs that were latched during disabled IRQs
    Input: ads7846 - miscellaneous fixes
    Input: ads7846 - use msleep() instead of udelay() in suspend
    Input: ads7846 - debouncing and rudimentary sample filtering
    Input: ads7846 - power down ADC a bit later
    Input: ads7846 - add pen_down sysfs attribute
    Input: wistron - add support for Fujitsu N3510
    Input: wistron - add signature for Amilo M7400

    Linus Torvalds
     

30 Apr, 2006

1 commit

  • Patch from Markus Gutschke

    In order to prevent gcc from making incorrect optimizations, all asm()
    statements that define system calls should report memory as
    clobbered. Recent versions of the headers for i386 have been changed
    accordingly, but the ARM headers are still defective.

    This patch fixes the bug tracked at
    http://bugzilla.kernel.org/show_bug.cgi?id=6205

    Signed-off-by: Markus Gutschke
    Signed-off-by: Russell King

    Markus Gutschke
     

29 Apr, 2006

4 commits


28 Apr, 2006

1 commit

  • Some people report that we die on some Macs when we are expecting to
    catch machine checks after poking at some random I/O address. I'd seen
    it happen on my dual G4 with serial ports until we fixed those to use
    OF, but now other users are reporting it with i8042.

    This expands the use of check_legacy_ioport() to avoid that situation
    even on 32-bit kernels.

    Signed-off-by: David Woodhouse
    Signed-off-by: Paul Mackerras

    David Woodhouse
     

26 Apr, 2006

4 commits


22 Apr, 2006

1 commit


12 Apr, 2006

6 commits

  • The pen down IRQ will toggle during each X,Y,Z measurement cycle.
    Even though the IRQ is disabled it will be latched and delivered
    when after enable_irq. Thus in the IRQ handler we must avoid
    starting a new measurement cycle when such an "unwanted" IRQ happens.
    Add a get_pendown_state platform function, which will probably
    determine this by reading the current GPIO level of the pen IRQ pin.

    Move the IRQ reenabling from the SPI RX function to the timer. After
    the last power down message the pen IRQ pin is still active for a
    while and get_pendown_state would report incorrectly a pen down state.

    When suspending we should check the ts->pending flag instead of
    ts->pendown, since the timer can be pending regardless of ts->pendown.
    Also if ts->pending is set we can be sure that the timer is running,
    so no need to rearm it. Similarly if ts->pending is not set we can
    be sure that the IRQ is enabled (and the timer is not).

    Signed-off-by: Imre Deak
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • - Add disable attribute to support device locking mode where
    unintentional touch event shouldn't wake up the system;
    - Update comments;
    - Add missing spin_lock_init;
    - Do device resume with the lock held;
    - Do cleanup calls / free memory in the reverse order of initialization.

    Signed-off-by: Imre Deak
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • Sometimes a polling loop had a hard time changing state without
    pre-emption enabled. Use msleep instead, it's better anyway.

    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Juha Yrjola
     
  • Some touchscreens seem to oscillate heavily for a while after touching
    the screen.  Implement support for sampling the screen until we get two
    consecutive values that are close enough.

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • Submit a seperate request for powering down the ADC in ads7846,
    doing it after the last read request. Otherwise some of the read
    values are incorrect.

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • It's handy for userspace diagnostics to see the pen down status, to
    see whether the touchscreen is "stuck" (shortcircuited).

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     

05 Apr, 2006

2 commits


02 Apr, 2006

6 commits


31 Mar, 2006

2 commits