Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[configfs] Handle comma separated list of functions. JB#48079
In android-usb backend a comma separated list of functions to enabled can be written as-is to sysfs control file. This assumption got inherited by configfs backend, and things fall apart if a mode needs to activate more than one function. Split comma separated list of functions into an array and enable each function separately. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters