1. 05 Aug, 2015 1 commit
    • Marek Belisko's avatar
      Input: twl4030-vibra - fix ERROR: Bad of_node_put() warning · e661d0a0
      Marek Belisko authored
      Fix following:
      [    8.862274] ERROR: Bad of_node_put() on /ocp/i2c@48070000/twl@48/audio
      [    8.869293] CPU: 0 PID: 1003 Comm: modprobe Not tainted 4.2.0-rc2-letux+ #1175
      [    8.876922] Hardware name: Generic OMAP36xx (Flattened Device Tree)
      [    8.883514] [<c00159e0>] (unwind_backtrace) from [<c0012488>] (show_stack+0x10/0x14)
      [    8.891693] [<c0012488>] (show_stack) from [<c05cb810>] (dump_stack+0x78/0x94)
      [    8.899322] [<c05cb810>] (dump_stack) from [<c02cfd5c>] (kobject_release+0x68/0x7c)
      [    8.907409] [<c02cfd5c>] (kobject_release) from [<bf0040c4>] (twl4030_vibra_probe+0x74/0x188 [twl4030_vibra])
      [    8.917877] [<bf0040c4>] (twl4030_vibra_probe [twl4030_vibra]) from [<c03816ac>] (platform_drv_probe+0x48/0x90)
      [    8.928497] [<c03816ac>] (platform_drv_probe) from [<c037feb4>] (really_probe+0xd4/0x238)
      [    8.937103] [<c037feb4>] (really_probe) from [<c0380160>] (driver_probe_device+0x30/0x48)
      [    8.945678] [<c0380160>] (driver_probe_device) from [<c03801e0>] (__driver_attach+0x68/0x8c)
      [    8.954589] [<c03801e0>] (__driver_attach) from [<c037ea60>] (bus_for_each_dev+0x50/0x84)
      [    8.963226] [<c037ea60>] (bus_for_each_dev) from [<c037f828>] (bus_add_driver+0xcc/0x1e4)
      [    8.971832] [<c037f828>] (bus_add_driver) from [<c0380b60>] (driver_register+0x9c/0xe0)
      [    8.980255] [<c0380b60>] (driver_register) from [<c00097e0>] (do_one_initcall+0x100/0x1b8)
      [    8.988983] [<c00097e0>] (do_one_initcall) from [<c00b8008>] (do_init_module+0x58/0x1c0)
      [    8.997497] [<c00b8008>] (do_init_module) from [<c00b8cac>] (SyS_init_module+0x54/0x64)
      [    9.005950] [<c00b8cac>] (SyS_init_module) from [<c000ed20>] (ret_fast_syscall+0x0/0x54)
      [    9.015838] input: twl4030:vibrator as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:audio/input/input2
      
      node passed to of_find_node_by_name is put inside that function and new node
      is returned if found. Free returned node not already freed node.
      Signed-off-by: default avatarMarek Belisko <marek@goldelico.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      e661d0a0
  2. 03 Aug, 2015 3 commits
  3. 28 Jul, 2015 1 commit
    • Dmitry Torokhov's avatar
      Revert "Input: zforce - don't overwrite the stack" · 3213afb8
      Dmitry Torokhov authored
      This reverts commit 7d01cd26 because
      with given FRAME_MAXSIZE of 257 the check will never trigger and it
      causes warnings from GCC (with -Wtype-limits). Also the check was
      incorrect as it was not accounting for the already read 2 bytes of data
      stored in the buffer.
      3213afb8
  4. 27 Jul, 2015 4 commits
  5. 24 Jul, 2015 2 commits
  6. 23 Jul, 2015 1 commit
  7. 16 Jul, 2015 2 commits
  8. 10 Jul, 2015 1 commit
  9. 07 Jul, 2015 1 commit
  10. 04 Jul, 2015 1 commit
  11. 01 Jul, 2015 2 commits
  12. 29 Jun, 2015 2 commits
  13. 25 Jun, 2015 3 commits
  14. 24 Jun, 2015 2 commits
  15. 22 Jun, 2015 4 commits
  16. 17 Jun, 2015 3 commits
  17. 16 Jun, 2015 2 commits
  18. 12 Jun, 2015 1 commit
    • Samuel Thibault's avatar
      Input: export LEDs as class devices in sysfs · f60c8ba7
      Samuel Thibault authored
      This change creates a new input handler called "leds" that exports LEDs on input
      devices as standard LED class devices in sysfs and allows controlling their
      state via sysfs or via any of the standard LED triggers. This allows to
      re-purpose and reassign LDEs on the keyboards to represent states other
      than the standard keyboard states (CapsLock, NumLock, etc).
      
      The old API of controlling input LEDs by writing into /dev/input/eventX
      devices is still present and will take precedence over accessing via LEDs
      subsystem (i.e. it may override state set by a trigger). If input device is
      "grabbed" then requests coming through LED subsystem will be ignored.
      Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
      Tested-by: default avatarPavel Machek <pavel@ucw.cz>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      f60c8ba7
  19. 11 Jun, 2015 2 commits
  20. 09 Jun, 2015 2 commits