Warner Losh 08a607e0f3 Widen the type for to.
The timeout field in the CAPS register is defined to be 8 bits, so its type was
uint8_t. We recently started adding 1 to it to cope with rogue devices that
listed 0 timeout time (which is impossible). However, in so doing, other devices
that list 0xff (for a 2 minute timeout) were broken when adding 1
overflowed. Widen the type to be uint32_t like its source register to avoid the
issue.

Reported by: bapt@
2019-07-25 20:26:21 +00:00
..
2019-07-22 21:55:33 +00:00
2019-07-17 16:38:29 +00:00
2019-07-10 13:47:10 +00:00
2019-05-27 00:47:51 +00:00
2019-06-22 05:35:23 +00:00
2019-07-25 20:26:21 +00:00
2019-05-08 19:27:30 +00:00
2019-07-22 16:01:20 +00:00
2019-07-24 21:26:17 +00:00
2019-07-24 16:51:14 +00:00
2019-06-08 16:26:56 +00:00
2019-07-14 21:08:54 +00:00