diff options
author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2017-02-08 05:26:55 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-02-19 09:18:37 -0500 |
commit | c03c08d50b3d44cd331319b4b2882315413ee281 (patch) | |
tree | 1c866c3a69a72c1c0e6e65c4761b5abb1afc4c86 /drivers/input/ff-core.c | |
parent | 76327627be1d9bd6a360b645ac7675c02a39096f (diff) |
IB/hfi1: Check upper-case EFI variables
The EFI variable that provides board ID is named
by the PCI address of the device, which is published
in upper-case, while the HFI1 driver reads the EFI
variable in lower-case.
This prevents returning the correct board id when
queried through sysfs. Read EFI variables in
upper-case if the lower-case read fails.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/input/ff-core.c')
0 files changed, 0 insertions, 0 deletions