diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2013-07-27 15:31:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-04 10:08:16 (GMT) |
commit | 4dedf31cd1c28c732a17ddeb9cfdf90b5b860faa (patch) | |
tree | 0214e00430f5e5c2736784a4d2866a59c4939ca2 /kernel/rcu.h | |
parent | a34778f3a7cf20ffb7f7f93fd96a9c456b2a96c6 (diff) | |
download | linux-4dedf31cd1c28c732a17ddeb9cfdf90b5b860faa.tar.xz |
staging:iio:hmc5843: Implement timeout in read function
avoid polling data ready bit forever; msleep() may be too long
for high sampling frequencies but the driver interface does not
support buffering
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Shubhrajyoti Datta <shubhrajyoti@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'kernel/rcu.h')
0 files changed, 0 insertions, 0 deletions