diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-01-12 19:26:32 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-01-17 19:38:55 +0100 |
commit | 5f51c7ce1dc36565296b3ef342585f70ec72a2a9 (patch) | |
tree | 94237e2e4dded2d0a64cfef60ee01d6d903bbcaa /drivers/spi/spi-dw-core.c | |
parent | b35b6d4d71365fbfb6f2cc8edc331b3882ca817e (diff) |
ACPI: CPPC: Fix up I/O port access in cpc_read()
The code as currently implemented does not work on big endian systems,
so fix it up.
Fixes: a2c8f92bea5f ("ACPI: CPPC: Implement support for SystemIO registers")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/linux-acpi/20220111092928.GA24968@kili/
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Diffstat (limited to 'drivers/spi/spi-dw-core.c')
0 files changed, 0 insertions, 0 deletions