diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-05 15:14:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-17 14:50:05 +1000 |
commit | 2dd60417450af4ac4f9938e09b06707dd91bddfb (patch) | |
tree | a426d684f18a540e4d377c6b4bcdb06aac4750f4 /autogen.sh | |
parent | 9de611219bebd9b101b98bb79cc0173115ee1833 (diff) |
When resetting, reset the open slots to -1
open_slots holds the slot index, resetting it to 0 is a bad idea. And make
sure that we do reset after DEVICE_INIT. We already do so on DEVICE_CLOSE, but
after the first DEVICE_ON the data could still be random.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit afbbcfa10eb3a2295823720907f35bb59972dd82)
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions