1. 15 5月, 2014 5 次提交
  2. 31 3月, 2014 5 次提交
  3. 28 3月, 2014 1 次提交
  4. 18 2月, 2014 1 次提交
  5. 07 1月, 2014 2 次提交
  6. 04 1月, 2014 1 次提交
  7. 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
  8. 12 12月, 2013 1 次提交
  9. 07 12月, 2013 1 次提交
  10. 06 12月, 2013 2 次提交
  11. 26 11月, 2013 1 次提交
  12. 11 11月, 2013 1 次提交
  13. 31 10月, 2013 2 次提交
  14. 16 10月, 2013 1 次提交
  15. 06 10月, 2013 6 次提交
  16. 18 9月, 2013 1 次提交
  17. 13 9月, 2013 1 次提交
  18. 26 8月, 2013 5 次提交
  19. 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