08/01/2019 15:59, David Hunt: > In the power_set_governor_*() functions, we using fputs() on /sys > filesystem. However, we also need to call fflush() to ensure that > the write completes successfully. Otherwise the attempt to set the > power governor fails and the function returns as if it has > succeeded. This patch adds an fflush to ensure that the > write succeeds, otherwise returns an error. > > Fixes: e6c6dc0f96c8 ("power: add p-state driver compatibility") > > Signed-off-by: David Hunt <david.h...@intel.com>
Applied, thanks