[PATCH] usb/ati_remote: add set_current_state()
commitddd63249a3bd56411f374600d0332cd25fb04084
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 29 Sep 2004 09:04:04 +0000 (29 02:04 -0700)
committerGreg Kroah-Hartman <greg@press.kroah.org>
Wed, 29 Sep 2004 09:04:04 +0000 (29 02:04 -0700)
treee6d85c9e7d6334389c88cb182da0d677f6c50918
parent51876731fb277bbc22eb41dd1c8bbf4ab35af200
[PATCH] usb/ati_remote: add set_current_state()

Add set_current_state() before schedule_timeout() so that if the
while-loop iterates multiple times, schedule_timeout() delays as
expected. Without the addition, schedule_timeout() will return
immediately.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/input/ati_remote.c