summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_ppi.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2013-12-19 20:38:14 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-05 16:07:14 +0100
commit2fc59fe2ecdca56a68728b6091590c07bb3e358d (patch)
tree64591b36eaf2df389b13dc2b3cce3cc5b31d4223 /drivers/char/tpm/tpm_ppi.c
parent1d0fcef732832432aee47cb75bf4a2cb3107be64 (diff)
downloadblackbird-op-linux-2fc59fe2ecdca56a68728b6091590c07bb3e358d.tar.gz
blackbird-op-linux-2fc59fe2ecdca56a68728b6091590c07bb3e358d.zip
PCI / pci-label: treat PCI label with index 0 as valid label
Current pci-label driver detects ACPI label by checking label index returned by ACPI _DSM method, and treats it as valid if label index is positive. According to ACPI Firmware specification 3.1, zero is also an valid label index. So change code to detect availability of ACPI slot label by checking availaiblity of ACPI _DSM function for PCI label. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm_ppi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud