~linaro-pm-wg/linaro-powerdebug/master

Viewing all changes in revision 225.

  • Committer: Daniel Lezcano
  • Date: 2016-02-22 14:02:57 UTC
  • Revision ID: git-v1:d42d7ad53a619b4dd2fc3e9194721fd8b0c6de0a
Fix display error on screen

The previous patch was reverted and is replaced by this one.

Instead of dancing around with global flag telling if a subsys succeed
or not and write a error, let's try to initialize the subsystem each
time a display is requested and output an error occurs.

That makes the code a bit nicer and give the opportunity to fix the
problem at the system level (eg. mount debugfs) without restarting
powerdebug.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: