commit | b7e938d06d0de43bdbee8844a8736c81480c1031 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue May 22 09:43:02 2012 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 13 16:37:04 2012 -0700 |
tree | 6574fe98a3c82f21b13a96cf313435b4553ed3e9 | |
parent | 7b5362a603a1ecc9a25b97dafd702b8098090f41 [diff] |
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>