1. 08 4月, 2017 1 次提交
  2. 17 3月, 2017 1 次提交
    • G
      auxdisplay: charlcd: Extract character LCD core from misc/panel · 39f8ea46
      Geert Uytterhoeven 提交于
      Extract the character LCD core from the Parallel port LCD/Keypad Panel
      driver in the misc subsystem, and convert it into a subdriver in the
      auxdisplay subsystem.  This allows the character LCD core to be used by
      other drivers later.
      
      Compilation is controlled by its own Kconfig symbol CHARLCD, which is to
      be selected by its users, but can be enabled manually for
      compile-testing.
      
      All functions changed their prefix from "lcd_" to "charlcd_", and gained
      a "struct charlcd *" parameter to operate on a specific instance.
      While the driver API thus is ready to support multiple instances, the
      current limitation of a single display (/dev/lcd has a single misc minor
      assigned) is retained.
      
      No functional changes intended.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      39f8ea46
  3. 10 2月, 2017 6 次提交
  4. 12 2月, 2016 1 次提交
  5. 04 2月, 2016 1 次提交
  6. 29 1月, 2016 9 次提交
  7. 29 10月, 2015 4 次提交
  8. 17 10月, 2015 1 次提交
  9. 04 10月, 2015 1 次提交
  10. 13 9月, 2015 1 次提交
  11. 01 8月, 2015 1 次提交
  12. 01 6月, 2015 1 次提交
  13. 31 5月, 2015 1 次提交
    • N
      staging: panel: use schedule_timeout_interruptible() · 895875a3
      Nicholas Mc Guire 提交于
      API consolidation with coccinelle found:
      ./drivers/staging/panel/panel.c:782:2-18:
              consolidation with schedule_timeout_*() recommended
      
      This is a 1:1 conversion with respect to schedule_timeout() to the
      schedule_timeout_interruptible() helper only - so only an API
      consolidation to improve readability. The timeout was being passed
      as (ms * HZ + 999) / 1000 but that simply looks wrong - rather than
      "manual" converting to jiffies, msecs_to_jiffies which handles all
      corner-cases correctly, was used.
      
      Patch was compile tested with x86_64_defconfig + CONFIG_STAGING=y,
      CONFIG_PARPORT=m, CONFIG_PANEL=m
      Signed-off-by: NNicholas Mc Guire <hofrat@osadl.org>
      Acked-by: NWilly Tarreau <w@1wt.eu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      895875a3
  14. 25 5月, 2015 1 次提交
    • S
      staging: panel: fix stackdump · 7d98c63e
      Sudip Mukherjee 提交于
      if we load the module, unload and then again try to load the module, we
      will get a stackdump. In the module_exit function we are unregistering
      the device and releasing the parport. So when we reach the detach
      function parport is already null and the unregister_reboot_notifier()
      is never called. When we again try to load the module it again tries
      register_reboot_notifier() and gives us a stackdump as its earlier
      registration is still not removed. It was caused by the
      commit bb046fef ('staging: panel: register reboot')
      Fix this by moving all the unregistering and releasing in the detach
      function, which should be the ideal case as the detach will be called if
      we try to unregister the driver or if the parport is removed.
      
      Fixes: bb046fef ('staging: panel: register reboot')
      Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7d98c63e
  15. 30 4月, 2015 1 次提交
  16. 26 3月, 2015 1 次提交
    • S
      staging: panel: fix lcd type · 2c20d92d
      Sudip Mukherjee 提交于
      the lcd type as defined in the Kconfig is not matching in the code.
      as a result the rs, rw and en pins were getting interchanged.
      Kconfig defines the value of PANEL_LCD to be 1 if we select custom
      configuration but in the code LCD_TYPE_CUSTOM is defined as 5.
      
      my hardware is LCD_TYPE_CUSTOM, but the pins were assigned to it
      as pins of LCD_TYPE_OLD, and it was not working.
      Now values are corrected with referenece to the values defined in
      Kconfig and it is working.
      checked on JHD204A lcd with LCD_TYPE_CUSTOM configuration.
      
      Cc: <stable@vger.kernel.org> # 2.6.32+
      Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
      Acked-by: NWilly Tarreau <w@1wt.eu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2c20d92d
  17. 20 3月, 2015 3 次提交
  18. 07 3月, 2015 2 次提交
  19. 27 2月, 2015 1 次提交
  20. 29 1月, 2015 1 次提交
  21. 12 1月, 2015 1 次提交