diff options
author | NeilBrown <neilb@suse.de> | 2012-05-22 03:43:02 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-14 03:37:04 +0400 |
commit | b7e938d06d0de43bdbee8844a8736c81480c1031 (patch) | |
tree | 6574fe98a3c82f21b13a96cf313435b4553ed3e9 /drivers/char/bsr.c | |
parent | 7b5362a603a1ecc9a25b97dafd702b8098090f41 (diff) | |
download | linux-b7e938d06d0de43bdbee8844a8736c81480c1031.tar.xz |
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/char/bsr.c')
0 files changed, 0 insertions, 0 deletions