# Re: \[v2\] input/imx\_keypad: add pm suspend and resume functions

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2011-10-13 04:13:36 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/10/8918017
- Thread: https://ratatoskr.run/linux-input/2011/10/8917995/t.md

```text
On Wed, Oct 12, 2011 at 05:48:33PM +0800, Wanlong Gao wrote:
> On 10/12/2011 05:39 PM, Hui Wang wrote:
> 
> > The imx_keypad driver is set wake capable in the imx_keypad_probe(),
> > but it doesn't implement suspend and reusme callback interface.
> > 
> >>From the i.MX series MCU Reference Manual, the kpp (keypad port) is
> > a major wake up source which can detect any key press even in low
> > power modes and even when there is no clock.
> > 
> > Now add suspend and resume callback functions for this driver.
> > 
> > Signed-off-by: Hui Wang <redacted>
> 
> 
> Looks good to me. Thanks
> Reviewed-by: Wanlong Gao <redacted>

Applied, thanks.

-- 
Dmitry
```
