Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b04e6a92 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi
Browse files

floss: Recover via reset after multiple starts

If we attempt to start multiple times and are unsuccessful, try using
the reset mechanism to recover instead of trying to start.

This also changes the condition for attempting a restart/reset from
depending on device presence. On Linux, when we bind the socket as
userchannel, the device presence is false (index is removed). It makes
more sense to attempt retry if we want the device enabled.

Bug: 236709385
Tag: #floss
Test: Enable/disable cycles to bad state and trigger reset.
Change-Id: I8a9003385f8fcb6d1ac237670087d34ed9590048
parent 1edf39ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment