diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2013-12-19 20:38:14 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-05 16:07:14 +0100 |
commit | 2fc59fe2ecdca56a68728b6091590c07bb3e358d (patch) | |
tree | 64591b36eaf2df389b13dc2b3cce3cc5b31d4223 /drivers/char/tpm/tpm_ppi.c | |
parent | 1d0fcef732832432aee47cb75bf4a2cb3107be64 (diff) | |
download | blackbird-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