-
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:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
e7536ebc
Name |
Last commit
|
Last update |
---|---|---|
config | ||
debian | ||
docs | ||
openembedded | ||
rpm | ||
src | ||
systemd | ||
utils | ||
.gitignore | ||
Copyright | ||
LICENSE | ||
Makefile.am | ||
README.md | ||
TODO | ||
autogen.sh | ||
configure.ac | ||
usb-moded.ini | ||
usb_moded.pc.in |