aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-09-18 23:00:59 +0300
committerDarren Hart (VMware) <[email protected]>2017-09-29 16:44:00 -0700
commitcd6bf7741cf992306748db11e1888c741d16dd0f (patch)
tree5d4c34839332aa7978798eb88fb37b70598cd427 /tools/perf/scripts/python/bin/stackcollapse-record
parent7b11e8989618581bc0226ad313264cdc05d48d86 (diff)
platform/x86: fujitsu-laptop: Don't oops when FUJ02E3 is not presnt
My Fujitsu-Siemens Lifebook S6120 doesn't have the FUJ02E3 device, but it does have FUJ02B1. That means we do register the backlight device (and it even seems to work), but the code will oops as soon as we try to set the backlight brightness because it's trying to call call_fext_func() with a NULL device. Let's just skip those function calls when the FUJ02E3 device is not present. Cc: Jonathan Woithe <[email protected]> Cc: Andy Shevchenko <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Cc: <[email protected]> # 4.13.x Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions