1. 31 3月, 2014 1 次提交
  2. 28 3月, 2014 1 次提交
  3. 18 2月, 2014 1 次提交
  4. 07 1月, 2014 2 次提交
  5. 04 1月, 2014 1 次提交
  6. 01 1月, 2014 1 次提交
    • D
      Input: cros_ec_keyb - fix problems with backslash · 64757eba
      Doug Anderson 提交于
      The driver can't deal with two entries its keymap having the same keycode.
      When this happens it will get confused about whether the key is down or up
      and will cause some screwy behavior.
      
      We need to have two entries for KEY_BACKSLASH to handle US and UK
      keyboards. Specifically:
      * On the US keyboard the backslash key (above enter) is r3 c11 and is
        supposed to be reported as BACKSLASH.
      * On the UK keyboard the # key (left of enter) is r4 c10 and is
        supposed to be reported as BACKSLASH.
      * On the UK keyboard the \ key (left of Z) is r2 c7 and is supposed to
        be reported as KEY_102ND.
      
      Note that both keyboards (US and UK) have only one physical backslash
      key so the constraint that each physical key should have its own keycode
      still stands.
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      64757eba
  7. 12 12月, 2013 1 次提交
  8. 07 12月, 2013 1 次提交
  9. 06 12月, 2013 2 次提交
  10. 26 11月, 2013 1 次提交
  11. 11 11月, 2013 1 次提交
  12. 31 10月, 2013 2 次提交
  13. 16 10月, 2013 1 次提交
  14. 06 10月, 2013 6 次提交
  15. 18 9月, 2013 1 次提交
  16. 13 9月, 2013 1 次提交
  17. 26 8月, 2013 5 次提交
  18. 15 8月, 2013 2 次提交
    • J
      Input: keyboard, serio - simplify use of devm_ioremap_resource · ef0aca7f
      Julia Lawall 提交于
      Remove unneeded error handling on the result of a call to
      platform_get_resource when the value is passed to devm_ioremap_resource.
      
      Move the call to platform_get_resource adjacent to the call to
      devm_ioremap_resource to make the connection between them more clear.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression pdev,res,n,e,e1;
      expression ret != 0;
      identifier l;
      @@
      
      - res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        ... when != res
      - if (res == NULL) { ... \(goto l;\|return ret;\) }
        ... when != res
      + res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        e = devm_ioremap_resource(e1, res);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      ef0aca7f
    • J
      Input: tegra-kbc - simplify use of devm_ioremap_resource · eacd0c47
      Julia Lawall 提交于
      Remove unneeded error handling on the result of a call to
      platform_get_resource when the value is passed to devm_ioremap_resource.
      
      Move the call to platform_get_resource adjacent to the call to
      devm_ioremap_resource to make the connection between them more clear.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression pdev,res,n,e,e1;
      expression ret != 0;
      identifier l;
      @@
      
      - res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        ... when != res
      - if (res == NULL) { ... \(goto l;\|return ret;\) }
        ... when != res
      + res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        e = devm_ioremap_resource(e1, res);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      eacd0c47
  19. 14 8月, 2013 1 次提交
  20. 13 8月, 2013 1 次提交
    • J
      Input: max7359 - add CONFIG_PM_SLEEP to suspend/resume · 1bc75457
      Jingoo Han 提交于
      Add CONFIG_PM_SLEEP to suspend/resume functions to fix the build
      warnings when CONFIG_PM_SLEEP is not selected. This is because
      sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used
      when the CONFIG_PM_SLEEP is enabled.
      
      drivers/input/keyboard/max7359_keypad.c:275:12: warning: 'max7359_suspend' defined but not used [-Wunused-function]
      drivers/input/keyboard/max7359_keypad.c:287:12: warning: 'max7359_resume' defined but not used [-Wunused-function]
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      1bc75457
  21. 07 7月, 2013 1 次提交
  22. 28 6月, 2013 1 次提交
  23. 26 6月, 2013 1 次提交
  24. 23 6月, 2013 1 次提交
  25. 19 6月, 2013 3 次提交