17 Mar, 2011

4 commits


24 Feb, 2011

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: serio/gameport - use 'long' system workqueue
    Input: synaptics - document 0x0c query
    Input: tegra-kbc - add function keymap

    Linus Torvalds
     
  • Commit 8ee294cd9def0004887da7f44b80563493b0a097 converted serio
    subsystem event handling from using a dedicated thread to using
    common workqueue. Unfortunately, this regressed our boot times,
    due to the fact that serio jobs take long time to execute. While
    the new concurrency managed workqueue code manages long-playing
    works just fine and schedules additional workers as needed, such
    works wreck havoc among remaining users of flush_scheduled_work().

    To solve this problem let's move serio/gameport works from system_wq
    to system_long_wq which nobody tries to flush.

    Reported-and-tested-by: Hernando Torque
    Acked-by: Tejun Heo
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • Since Synaptics technical writers department is a bit slow releasing updated
    Synaptics interface guide, let's add some new bits (with their blessing)
    to the code so that they don't get lost.

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

19 Feb, 2011

1 commit


16 Feb, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: matrix_keypad - increase the limit of rows and columns
    Input: wacom - fix error path in wacom_probe()
    Input: ads7846 - check proper condition when freeing gpio
    Revert "Input: do not pass injected events back to the originating handler"
    Input: sysrq - rework re-inject logic
    Input: serio - clear pending rescans after sysfs driver rebind
    Input: rotary_encoder - use proper irqflags
    Input: wacom_w8001 - report resolution to userland

    Linus Torvalds
     

11 Feb, 2011

2 commits

  • If we fail to retrieve HID descriptor we need to free allocated URB so
    jump to proper label to do that.

    Signed-off-by: Alexander Strakh
    Acked-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Alexander Strakh
     
  • When driver uses custom pendown detection method gpio_pendown is not
    set up and so we should not try to free it, otherwise we are presented
    with:

    ------------[ cut here ]------------
    WARNING: at drivers/gpio/gpiolib.c:1258 gpio_free+0x100/0x12c()
    Modules linked in:
    [] (unwind_backtrace+0x0/0xe4) from [](warn_slowpath_common+0x4c/0x64)
    [] (warn_slowpath_common+0x4c/0x64) from [](warn_slowpath_null+0x18/0x1c)
    [] (warn_slowpath_null+0x18/0x1c) from [](gpio_free+0x100/0x12c)
    [] (gpio_free+0x100/0x12c) from [](ads7846_probe+0xa38/0xc5c)
    [] (ads7846_probe+0xa38/0xc5c) from [](spi_drv_probe+0x18/0x1c)
    [] (spi_drv_probe+0x18/0x1c) from [](driver_probe_device+0xc8/0x184)
    [] (driver_probe_device+0xc8/0x184) from [](__driver_attach+0x68/0x8c)
    [] (__driver_attach+0x68/0x8c) from [](bus_for_each_dev+0x48/0x74)
    [] (bus_for_each_dev+0x48/0x74) from [](bus_add_driver+0xa0/0x220)
    [] (bus_add_driver+0xa0/0x220) from [](driver_register+0xa8/0x134)
    [] (driver_register+0xa8/0x134) from [](do_one_initcall+0xcc/0x1a4)
    [] (do_one_initcall+0xcc/0x1a4) from [](kernel_init+0x14c/0x214)
    [] (kernel_init+0x14c/0x214) from [](kernel_thread_exit+0x0/0x8)
    ---[ end trace 4053287f8a5ec18f ]---

    Also rearrange ads7846_setup_pendown() to have only one exit point
    returning success.

    Reported-by: Sourav Poddar
    Acked-by: Wolfram Sang
    Reviewed-by: Charulatha V
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

06 Feb, 2011

1 commit

  • FREQ is a ridiculously short name for a platform-specific macro in a
    generic header, and it now conflicts with an enumeration in the
    gspca/ov519 driver.

    Also delete conditional reference to ixp4xx_get_board_tick_rate()
    which is not defined anywhere.

    Signed-off-by: Ben Hutchings
    Signed-off-by: Krzysztof Hałasa

    Ben Hutchings
     

03 Feb, 2011

3 commits

  • This reverts commit 5fdbe44d033d059cc56c2803e6b4dbd8cb4e5e39.

    Apparently there exist userspace programs that expect to be able to
    "loop back" and distribute to readers events written into
    /dev/input/eventX and this change made for the benefit of SysRq
    handler broke them. Now that SysRq uses alternative method to suppress
    filtering of the events it re-injects we can safely revert this change.

    Reported-by: Kristen Carlson Accardi
    Cc: stable@kernel.org
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • When rebinding a serio driver via sysfs drvctl interface it is
    possible for an interrupt to trigger after the disconnect of the
    existing driver and before the binding of the new driver. This will
    cause the serio interrupt handler to queue a rescan event which will
    disconnect the new driver immediately after it is attached.

    This change removes pending rescans from the serio event queue after
    processing the drvctl request but before releasing the serio mutex.

    Reproduction involves issuing a rebind of device port from psmouse
    driver to serio_raw driver while generating input to trigger
    interrupts. Then checking to see if the corresponding
    i8042/serio4/driver is correctly attached to the serio_raw driver
    instead of psmouse.

    Signed-off-by: Duncan Laurie
    Signed-off-by: Dmitry Torokhov

    Duncan Laurie
     
  • IORESOURCE_IRQ_* is wrong for irq_request, use the correct IRQF_* instead.

    Signed-off-by: Alexander Stein
    Signed-off-by: Dmitry Torokhov

    Alexander Stein
     

01 Feb, 2011

1 commit

  • Serial devices send both pen and touch data through the same logical
    port. Since we scaled touch to pen maximum, we use pen resolution
    for touch as well here.

    This is under the assumption that pen and touch share the same physical
    surface. In the case when a small physical dimensional difference occurs
    between pen and touch, we assume the tolerance for touch point precision
    is higher than pen and the difference is within touch point tolerance.

    A per-MT tool based resolution mechanism should be introduced if the
    above assumption does not hold true for the pen and touch devices any
    more.

    Signed-off-by: Ping Cheng
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Ping Cheng
     

31 Jan, 2011

1 commit


29 Jan, 2011

4 commits


26 Jan, 2011

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: wacom - pass touch resolution to clients through input_absinfo
    Input: wacom - add 2 Bamboo Pen and touch models
    Input: sysrq - ensure sysrq_enabled and __sysrq_enabled are consistent
    Input: sparse-keymap - fix KEY_VSW handling in sparse_keymap_setup
    Input: tegra-kbc - add tegra keyboard driver
    Input: gpio_keys - switch to using request_any_context_irq
    Input: serio - allow registered drivers to get status flag
    Input: ct82710c - return proper error code for ct82c710_open
    Input: bu21013_ts - added regulator support
    Input: bu21013_ts - remove duplicate resolution parameters
    Input: tnetv107x-ts - don't treat NULL clk as an error
    Input: tnetv107x-keypad - don't treat NULL clk as an error

    Fix up trivial conflicts in drivers/input/keyboard/Makefile due to
    additions of tc3589x/Tegra drivers

    Linus Torvalds
     
  • Also remove fake ABS_RX/ABS_RY "axes" that were used to report physical
    dimensions now that we have better way.

    Signed-off-by: Ping Cheng
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Ping Cheng
     

25 Jan, 2011

1 commit


21 Jan, 2011

5 commits

  • We were forgetting to set up device capabilities for KEY_VSW entries.

    Reported-by: Tapio Vihuri
    Tested-by: Tapio Vihuri
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • This patch adds support for the internal matrix keyboard controller for
    Nvidia Tegra platforms.

    Signed-off-by: Rakesh Iyer
    Reviewed-by: Trilok Soni
    Signed-off-by: Dmitry Torokhov

    Rakesh Iyer
     
  • The driver does not require hardirq context and can work with threaded
    interrupts as well, so let's switch to request_any_context_irq which
    will select the context that is available for us.

    Signed-off-by: Philippe Langlais
    Signed-off-by: Dmitry Torokhov

    Philippe Langlais
     
  • Parse and pass the status byte information to the registered serio
    drivers as well as the data bytes.

    Signed-off-by: David Engraf
    Signed-off-by: Dmitry Torokhov

    David Engraf
     
  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

18 Jan, 2011

5 commits


14 Jan, 2011

2 commits

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    Documentation/trace/events.txt: Remove obsolete sched_signal_send.
    writeback: fix global_dirty_limits comment runtime -> real-time
    ppc: fix comment typo singal -> signal
    drivers: fix comment typo diable -> disable.
    m68k: fix comment typo diable -> disable.
    wireless: comment typo fix diable -> disable.
    media: comment typo fix diable -> disable.
    remove doc for obsolete dynamic-printk kernel-parameter
    remove extraneous 'is' from Documentation/iostats.txt
    Fix spelling milisec -> ms in snd_ps3 module parameter description
    Fix spelling mistakes in comments
    Revert conflicting V4L changes
    i7core_edac: fix typos in comments
    mm/rmap.c: fix comment
    sound, ca0106: Fix assignment to 'channel'.
    hrtimer: fix a typo in comment
    init/Kconfig: fix typo
    anon_inodes: fix wrong function name in comment
    fix comment typos concerning "consistent"
    poll: fix a typo in comment
    ...

    Fix up trivial conflicts in:
    - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
    - fs/ext4/ext4.h

    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: add SW_ROTATE_LOCK switch type
    Input: fix force feedback capability query example
    Input: wacom_w8001 - add single-touch support
    Input: add Austria Microsystem AS5011 joystick driver
    Input: remove aaed2000 keyboard driver
    Input: i8042 - introduce 'notimeout' blacklist for Dell Vostro V13
    Input: cy8ctmg110_ts - Convert to dev_pm_ops
    Input: migor_ts - convert to dev_pm_ops
    Input: mcs5000_ts - convert to dev_pm_ops
    Input: eeti_ts - convert to dev_pm_ops
    Input: ad7879 - convert I2C to dev_pm_ops

    Linus Torvalds
     

12 Jan, 2011

1 commit


11 Jan, 2011

3 commits

  • Emulate single-touch compatible events for the 2-finger panels
    so that they can be used with single-touch legacy clients.

    Assign device ids as Wacom USB vendor ID and product ID.
    Name the device to reflect its specific features.

    Scale touch coordinates to pen maximum if pen supported.

    Signed-off-by: Ping Cheng
    Signed-off-by: Dmitry Torokhov

    Ping Cheng
     
  • This is driver for EasyPoint AS5011 2 axis joystick chip. This chip is
    plugged on an I2C bus.

    Tested on ARM processor (i.MX27).

    Signed-off-by: Fabien Marteau
    Signed-off-by: Dmitry Torokhov

    Fabien Marteau
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (34 commits)
    HID: roccat: Update sysfs attribute doc
    HID: roccat: don't use #pragma pack
    HID: roccat: Add support for Roccat Kone[+] v2
    HID: roccat: reduce number of functions in kone and pyra drivers
    HID: roccat: declare meaning of pack pragma usage in driver headers
    HID: roccat: use class for char device for sysfs attribute creation
    sysfs: Introducing binary attributes for struct class
    HID: hidraw: add compatibility ioctl() for 32-bit applications.
    HID: hid-picolcd: Fix memory leak in picolcd_debug_out_report()
    HID: picolcd: fix misuse of logical operation in place of bitop
    HID: usbhid: base runtime PM on modern API
    HID: replace offsets values with their corresponding BTN_* defines
    HID: hid-mosart: support suspend/resume
    HID: hid-mosart: ignore buttons report
    HID: hid-picolcd: don't use flush_scheduled_work()
    HID: simplify an index check in hid_lookup_collection
    HID: Hoist assigns from ifs
    HID: Remove superfluous __inline__
    HID: Use vzalloc for vmalloc/memset(,0...)
    HID: Add and use hid_: dev_ equivalents
    ...

    Linus Torvalds