diff options
Diffstat (limited to 'drivers/acpi/hardware')
-rw-r--r-- | drivers/acpi/hardware/hwregs.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c index 716e4aeca1e1..5b19fc75cbd0 100644 --- a/drivers/acpi/hardware/hwregs.c +++ b/drivers/acpi/hardware/hwregs.c | |||
@@ -788,8 +788,8 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) | |||
788 | 788 | ||
789 | case ACPI_ADR_SPACE_SYSTEM_IO: | 789 | case ACPI_ADR_SPACE_SYSTEM_IO: |
790 | 790 | ||
791 | status = acpi_os_read_port((acpi_io_address) address, | 791 | status = |
792 | value, width); | 792 | acpi_os_read_port((acpi_io_address) address, value, width); |
793 | break; | 793 | break; |
794 | 794 | ||
795 | default: | 795 | default: |
@@ -800,8 +800,7 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) | |||
800 | 800 | ||
801 | ACPI_DEBUG_PRINT((ACPI_DB_IO, | 801 | ACPI_DEBUG_PRINT((ACPI_DB_IO, |
802 | "Read: %8.8X width %2d from %8.8X%8.8X (%s)\n", | 802 | "Read: %8.8X width %2d from %8.8X%8.8X (%s)\n", |
803 | *value, width, | 803 | *value, width, ACPI_FORMAT_UINT64(address), |
804 | ACPI_FORMAT_UINT64(address), | ||
805 | acpi_ut_get_region_name(reg->space_id))); | 804 | acpi_ut_get_region_name(reg->space_id))); |
806 | 805 | ||
807 | return (status); | 806 | return (status); |
@@ -858,8 +857,8 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) | |||
858 | 857 | ||
859 | case ACPI_ADR_SPACE_SYSTEM_IO: | 858 | case ACPI_ADR_SPACE_SYSTEM_IO: |
860 | 859 | ||
861 | status = acpi_os_write_port((acpi_io_address) address, | 860 | status = acpi_os_write_port((acpi_io_address) address, value, |
862 | value, width); | 861 | width); |
863 | break; | 862 | break; |
864 | 863 | ||
865 | default: | 864 | default: |
@@ -870,8 +869,7 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) | |||
870 | 869 | ||
871 | ACPI_DEBUG_PRINT((ACPI_DB_IO, | 870 | ACPI_DEBUG_PRINT((ACPI_DB_IO, |
872 | "Wrote: %8.8X width %2d to %8.8X%8.8X (%s)\n", | 871 | "Wrote: %8.8X width %2d to %8.8X%8.8X (%s)\n", |
873 | value, width, | 872 | value, width, ACPI_FORMAT_UINT64(address), |
874 | ACPI_FORMAT_UINT64(address), | ||
875 | acpi_ut_get_region_name(reg->space_id))); | 873 | acpi_ut_get_region_name(reg->space_id))); |
876 | 874 | ||
877 | return (status); | 875 | return (status); |