diff options
author | NeilBrown <neilb@suse.de> | 2012-05-22 09:43:02 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 16:37:04 -0700 |
commit | b7e938d06d0de43bdbee8844a8736c81480c1031 (patch) | |
tree | 6574fe98a3c82f21b13a96cf313435b4553ed3e9 /drivers/w1/slaves/w1_ds2408.c | |
parent | 7b5362a603a1ecc9a25b97dafd702b8098090f41 (diff) | |
download | blackbird-op-linux-b7e938d06d0de43bdbee8844a8736c81480c1031.tar.gz blackbird-op-linux-b7e938d06d0de43bdbee8844a8736c81480c1031.zip |
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>
Diffstat (limited to 'drivers/w1/slaves/w1_ds2408.c')
0 files changed, 0 insertions, 0 deletions