Skip to content
Commit 5f51c7ce authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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: a2c8f92b ("ACPI: CPPC: Implement support for SystemIO registers")
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Suggested-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/linux-acpi/20220111092928.GA24968@kili/


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarHuang Rui <ray.huang@amd.com>
parent b35b6d4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment