diff options
| author | Viditha Hanumanthareddy <ngjq36@motorola.com> | 2014-07-07 15:15:01 -0500 |
|---|---|---|
| committer | Viditha H <ngjq36@motorola.com> | 2014-07-08 20:27:16 +0000 |
| commit | 859956ec4ef635c2b7fd42b53ee880aa502aa724 (patch) | |
| tree | bf84ed2e6d140a7bacc644c0c38bac8838ad6998 /include/linux/string_helpers.h | |
| parent | 649585cbe0bc50b36291576e79e90ba3072aa88d (diff) | |
| download | olio-linux-3.10-859956ec4ef635c2b7fd42b53ee880aa502aa724.tar.xz olio-linux-3.10-859956ec4ef635c2b7fd42b53ee880aa502aa724.zip | |
IKXCLOCK-2713: Retry setrate's
If i2c communication fails while doing a set sample rate for a sensor
retry the same during suspend. It is seems that sometimes omap->M4
i2c bus dies for a brief period and then recovers. But during the failure
period if an app tries to turn off a sensor and this turn off fails,
it could lead to wakeups after omap suspend, and so this fix
retries setting the sample rate on suspend only if it had failed earlier.
Change-Id: I5874738a78ed900b1b039160f852031321dd2e30
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions