diff options
author | Edmond Chung <edmondchung@google.com> | 2023-09-28 10:08:14 -0700 |
---|---|---|
committer | Nick Chung <nickchung@google.com> | 2023-10-02 06:54:25 +0000 |
commit | 45dd856fa22e9a89259e38aecf1c6dfde5450a39 (patch) | |
tree | eb1dde35f51562c49796d78f2957937e169598f3 | |
parent | e65a97aa732b1ccd685b58dcc94fe1b4174937d2 (diff) | |
download | lwis-45dd856fa22e9a89259e38aecf1c6dfde5450a39.tar.gz |
IOEntry: Allow max wait time of 1 secondandroid-u-qpr2-beta-2_r0.7android-u-qpr2-beta-2_r0.5android-u-qpr2-beta-2_r0.4android-u-qpr2-beta-2_r0.3android-u-qpr2-beta-2_r0.2android-u-qpr2-beta-2_r0.1android-u-qpr2-beta-1_r0.6android-u-qpr2-beta-1_r0.5android-u-qpr2-beta-1_r0.4android-u-qpr2-beta-1_r0.3android-u-qpr2-beta-1_r0.2android-u-qpr2-beta-1_r0.1
Bug: 302544486
Bug: 302552340
Test: Build
Change-Id: I7e683a9b038f248e104743a3acb7f4b58804ccfb
Signed-off-by: Edmond Chung <edmondchung@google.com>
Signed-off-by: Nick Chung <nickchung@google.com>
-rw-r--r-- | lwis_io_entry.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lwis_io_entry.h b/lwis_io_entry.h index a06e17a..d8bd81a 100644 --- a/lwis_io_entry.h +++ b/lwis_io_entry.h @@ -14,10 +14,10 @@ #include "lwis_commands.h" #include "lwis_device.h" -/* Minimum value of sleep time */ +/* Minimum value of sleep time in us */ #define MIN_WAIT_TIME 10 -/* Maximum value of sleep time */ -#define MAX_WAIT_TIME 20000 +/* Maximum value of sleep time in us */ +#define MAX_WAIT_TIME 1000000 /* * lwis_io_entry_poll: @@ -37,4 +37,4 @@ int lwis_io_entry_read_assert(struct lwis_device *lwis_dev, struct lwis_io_entry */ int lwis_io_entry_wait(struct lwis_device *lwis_dev, struct lwis_io_entry *entry); -#endif /* LWIS_IO_ENTRY_H_ */
\ No newline at end of file +#endif /* LWIS_IO_ENTRY_H_ */ |