summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esas2r
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-18 22:00:59 +0200
committerDarren Hart (VMware) <dvhart@infradead.org>2017-09-27 09:04:43 +0200
commitce7c47d60bda6c7f09ccf16e978d971c8fa16ff0 (patch)
treeb3628d20cb9c266c8041f76866a562434f36eacd /drivers/scsi/esas2r
parentLinux 4.14-rc1 (diff)
downloadlinux-ce7c47d60bda6c7f09ccf16e978d971c8fa16ff0.tar.xz
linux-ce7c47d60bda6c7f09ccf16e978d971c8fa16ff0.zip
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 <jwoithe@just42.net> Cc: Andy Shevchenko <andy@infradead.org> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: <stable@vger.kernel.org> # 4.13.x Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/scsi/esas2r')
0 files changed, 0 insertions, 0 deletions