1. 12 Jun, 2019 1 commit
    • Anson Huang's avatar
      Input: imx_keypad - make sure keyboard can always wake up system · ce9a53eb
      Anson Huang authored
      There are several scenarios that keyboard can NOT wake up system
      from suspend, e.g., if a keyboard is depressed between system
      device suspend phase and device noirq suspend phase, the keyboard
      ISR will be called and both keyboard depress and release interrupts
      will be disabled, then keyboard will no longer be able to wake up
      system. Another scenario would be, if a keyboard is kept depressed,
      and then system goes into suspend, the expected behavior would be
      when keyboard is released, system will be waked up, but current
      implementation can NOT achieve that, because both depress and release
      interrupts are disabled in ISR, and the event check is still in
      progress.
      
      To fix these issues, need to make sure keyboard's depress or release
      interrupt is enabled after noirq device suspend phase, this patch
      moves the suspend/resume callback to noirq suspend/resume phase, and
      enable the corresponding interrupt according to current keyboard status.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      ce9a53eb
  2. 09 Jun, 2019 1 commit
  3. 23 May, 2019 2 commits
  4. 21 May, 2019 1 commit
  5. 15 May, 2019 1 commit
  6. 10 May, 2019 1 commit
  7. 07 May, 2019 2 commits
  8. 30 Apr, 2019 2 commits
  9. 27 Apr, 2019 3 commits
  10. 26 Apr, 2019 2 commits
  11. 24 Apr, 2019 2 commits
  12. 23 Apr, 2019 2 commits
  13. 04 Apr, 2019 4 commits
  14. 03 Apr, 2019 4 commits
  15. 27 Mar, 2019 8 commits
  16. 09 Mar, 2019 4 commits