LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Fix tosakbd suspend
@ 2008-03-31 21:38 Dmitry Baryshkov
  2008-04-01  3:49 ` Dmitry Torokhov
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2008-03-31 21:38 UTC (permalink / raw)
  To: linux-input; +Cc: linux-kernel, dtor

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
---
 drivers/input/keyboard/tosakbd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/input/keyboard/tosakbd.c b/drivers/input/keyboard/tosakbd.c
index 3884d1e..306cbe8 100644
--- a/drivers/input/keyboard/tosakbd.c
+++ b/drivers/input/keyboard/tosakbd.c
@@ -210,6 +210,9 @@ static int tosakbd_suspend(struct platform_device *dev, pm_message_t state)
 
 	del_timer_sync(&tosakbd->timer);
 
+	PGSR1 = (PGSR1 & ~TOSA_GPIO_LOW_STROBE_BIT);
+	PGSR2 = (PGSR2 & ~TOSA_GPIO_HIGH_STROBE_BIT);
+
 	return 0;
 }
 
-- 
1.5.4.4


-- 
With best wishes
Dmitry


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-02 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-31 21:38 [PATCH] Fix tosakbd suspend Dmitry Baryshkov
2008-04-01  3:49 ` Dmitry Torokhov
2008-04-01 13:27   ` Dmitry
2008-04-01 14:42     ` Dmitry Torokhov
2008-04-01 21:51       ` Dmitry
2008-04-02 14:16       ` Dmitry Torokhov
2008-04-02 14:38         ` Dmitry
2008-04-02 14:51           ` Dmitry Torokhov
2008-04-02 15:06             ` Dmitry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).