• spiiroin's avatar
    [usb_moded] Arrange a route for signaling mode switch failures. JB#41748 · 94978637
    spiiroin authored
    If gadget configuration / other mode selection related activites fail,
    usb-moded attempts to activate charging only configuration / does fallback
    to undefined mode. This situation is not propagated upwards and thus
    incorrect information is exposed over D-Bus.
    
    Add feedback function that lower level functionality can use to signal
    failures / successfully completed mode change, and delay broadcasting
    of D-Bus signals until completing the change.
    
    As the mode change actions can potentially block for extended periods of
    time and render usb-moded unresponsive, mark places where worker thread
    signaling could be utilized instead of function calls.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    94978637
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.depend Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.custom Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-static.h Loading commit data...
configure.ac Loading commit data...
depend_filter.py Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...