Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[modesetting] Write dummy value to clear ffs function list. Fixes JB#…
…39402 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>
- Loading branch information
Showing
1 changed file
with
24 additions
and
11 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