diff options
| author | Linda Knippers <[email protected]> | 2015-11-21 00:05:49 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2015-11-30 22:51:46 +0000 |
| commit | 6b577c9d772c45448aec784ec235cea228b4d3ad (patch) | |
| tree | 1a94393c25921fe612186623e122f8c3fe566668 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | nfit: Fix the check for a successful NFIT merge (diff) | |
| download | kernel-6b577c9d772c45448aec784ec235cea228b4d3ad.tar.gz kernel-6b577c9d772c45448aec784ec235cea228b4d3ad.zip | |
nfit: Adjust for different _FIT and NFIT headers
When support for _FIT was added, the code presumed that the data
returned by the _FIT method is identical to the NFIT table, which
starts with an acpi_table_header. However, the _FIT is defined
to return a data in the format of a series of NFIT type structure
entries and as a method, has an acpi_object header rather tahn
an acpi_table_header.
To address the differences, explicitly save the acpi_table_header
from the NFIT, since it is accessible through /sys, and change
the nfit pointer in the acpi_desc structure to point to the
table entries rather than the headers.
Reported-by: Jeff Moyer ([email protected]>
Signed-off-by: Linda Knippers <[email protected]>
Acked-by: Vishal Verma <[email protected]>
[vishal: fix up unit test for new header assumptions]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
