]> git.karo-electronics.de Git - linux-beck.git/commit
w1: omap_hdq: use wait_event_timeout to wait for read to complete.
authorNeilBrown <neilb@suse.de>
Mon, 21 May 2012 23:43:02 +0000 (09:43 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:37:04 +0000 (16:37 -0700)
commitb7e938d06d0de43bdbee8844a8736c81480c1031
tree6574fe98a3c82f21b13a96cf313435b4553ed3e9
parent7b5362a603a1ecc9a25b97dafd702b8098090f41
w1: omap_hdq: use wait_event_timeout to wait for read to complete.

There is no gain in having a loop - there is no risk of missing the
interrupt with wait_event_timeout.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/omap_hdq.c