1. Oct 19, 2015
    • Randy Dunlap's avatar
      Input: sur40 - add dependency on VIDEO_V4L2 · c8a1978e
      Randy Dunlap authored
      
      
      Fix build errors due to missing Kconfig dependency.
      
      drivers/built-in.o: In function `sur40_disconnect':
      sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
      sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
      drivers/built-in.o: In function `sur40_process_video':
      sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
      drivers/built-in.o: In function `sur40_probe':
      sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
      sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
      sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
      sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
      sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
      drivers/built-in.o: In function `sur40_vidioc_querycap':
      sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c8a1978e
  2. Oct 18, 2015
    • Vladimir Zapolskiy's avatar
      Input: lpc32xx_ts - fix warnings caused by enabling unprepared clock · 32470060
      Vladimir Zapolskiy authored
      
      
      If common clock framework is configured, the driver generates a warning,
      which is fixed by this change:
      
          root@devkit3250:~# cat /dev/input/touchscreen0
          ------------[ cut here ]------------
          WARNING: CPU: 0 PID: 720 at drivers/clk/clk.c:727 clk_core_enable+0x2c/0xa4()
          Modules linked in: sc16is7xx snd_soc_uda1380
          CPU: 0 PID: 720 Comm: cat Not tainted 4.3.0-rc2+ #199
          Hardware name: LPC32XX SoC (Flattened Device Tree)
          Backtrace:
          [<>] (dump_backtrace) from [<>] (show_stack+0x18/0x1c)
          [<>] (show_stack) from [<>] (dump_stack+0x20/0x28)
          [<>] (dump_stack) from [<>] (warn_slowpath_common+0x90/0xb8)
          [<>] (warn_slowpath_common) from [<>] (warn_slowpath_null+0x24/0x2c)
          [<>] (warn_slowpath_null) from [<>] (clk_core_enable+0x2c/0xa4)
          [<>] (clk_core_enable) from [<>] (clk_enable+0x24/0x38)
          [<>] (clk_enable) from [<>] (lpc32xx_setup_tsc+0x18/0xa0)
          [<>] (lpc32xx_setup_tsc) from [<>] (lpc32xx_ts_open+0x14/0x1c)
          [<>] (lpc32xx_ts_open) from [<>] (input_open_device+0x74/0xb0)
          [<>] (input_open_device) from [<>] (evdev_open+0x110/0x16c)
          [<>] (evdev_open) from [<>] (chrdev_open+0x1b4/0x1dc)
          [<>] (chrdev_open) from [<>] (do_dentry_open+0x1dc/0x2f4)
          [<>] (do_dentry_open) from [<>] (vfs_open+0x6c/0x70)
          [<>] (vfs_open) from [<>] (path_openat+0xb4c/0xddc)
          [<>] (path_openat) from [<>] (do_filp_open+0x40/0x8c)
          [<>] (do_filp_open) from [<>] (do_sys_open+0x124/0x1c4)
          [<>] (do_sys_open) from [<>] (SyS_open+0x2c/0x30)
          [<>] (SyS_open) from [<>] (ret_fast_syscall+0x0/0x38)
      
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      32470060
  3. Oct 14, 2015
  4. Oct 07, 2015
  5. Oct 03, 2015
  6. Sep 30, 2015
    • Dmitry Vyukov's avatar
      Input: psmouse - fix data race in __ps2_command · 218c1f76
      Dmitry Vyukov authored
      
      
      The data race happens on ps2dev->cmdcnt and ps2dev->cmdbuf contents.
      __ps2_command reads that data concurrently with the interrupt handler. As
      the result, for example, if a response arrives just after the timeout,
      __ps2_command can copy out garbage from ps2dev->cmdbuf but then see that
      ps2dev->cmdcnt is 0 and return success.
      
      Stop the interrupt handler with serio_pause_rx() before reading the
      results.
      
      The data race was found with KernelThreadSanitizer (KTSAN).
      
      Signed-off-by: default avatarDmitry Vyukov <dvyukov@google.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      218c1f76
  7. Sep 29, 2015
  8. Sep 28, 2015
  9. Sep 22, 2015
  10. Sep 20, 2015
  11. Sep 12, 2015
  12. Sep 06, 2015
  13. Sep 04, 2015
  14. Aug 29, 2015