Re: [RESEND] [PATCH] Input: add appleir USB driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oliver Neukum
Date: Monday, October 4, 2010 - 12:17 pm

Am Donnerstag, 30. September 2010, 12:57:55 schrieb Bastien Nocera:


Is this really better than a table lookup?



This races with the timer. You can end up with a key reported up twice.




No need for ATOMIC


This does not enable remote wakeup. Why? Looks like a bug.


You can close with a key unreleased.




Why bother checking?


If the system goes to sleep you'd better report a pressed key
as released here and kill the timer.

GFP_NOIO is sufficient.


If you want runtime power management you need to define
supports_autosuspend.

	Regards
		Oliver
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RESEND] [PATCH] Input: add appleir USB driver, Bastien Nocera, (Thu Sep 30, 3:57 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Dmitry Torokhov, (Thu Sep 30, 8:47 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Bastien Nocera, (Thu Sep 30, 8:51 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Oliver Neukum, (Mon Oct 4, 12:17 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Dmitry Torokhov, (Mon Oct 4, 9:45 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Oliver Neukum, (Mon Oct 4, 11:02 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Dmitry Torokhov, (Mon Oct 4, 11:08 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Oliver Neukum, (Mon Oct 4, 11:18 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Dmitry Torokhov, (Tue Oct 5, 8:55 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Oliver Neukum, (Tue Oct 5, 9:07 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Dmitry Torokhov, (Tue Oct 5, 9:18 am)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Jarod Wilson, (Thu Oct 7, 5:39 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Bastien Nocera, (Wed Nov 17, 9:18 pm)
Re: [RESEND] [PATCH] Input: add appleir USB driver, Jarod Wilson, (Fri Nov 19, 11:07 am)