• spiiroin's avatar
    [modesetting] Write dummy value to clear ffs function list. Fixes JB#39402 · e7536ebc
    spiiroin authored
    It seems that kernels in many if not all devices ignore writing of empty
    string to ffs function control file - the function list is left as it were
    and this can cause subtle issues on the next cable connect. On the other
    hand writing a non-existing "function" will clear the function list, but
    causes write error to be reported.
    
    Treat attempts to clear function list as a special case so that non-empty
    string gets written and the resulting write error is ignored under normal
    logging verbosity.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    e7536ebc
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...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...