diff options
Diffstat (limited to 'drivers/acpi/executer/exfldio.c')
-rw-r--r-- | drivers/acpi/executer/exfldio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/executer/exfldio.c b/drivers/acpi/executer/exfldio.c index bd1af35f7fcf..d5a4b2627c19 100644 --- a/drivers/acpi/executer/exfldio.c +++ b/drivers/acpi/executer/exfldio.c | |||
@@ -113,6 +113,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, | |||
113 | } | 113 | } |
114 | 114 | ||
115 | if (rgn_desc->region.space_id == ACPI_ADR_SPACE_SMBUS) { | 115 | if (rgn_desc->region.space_id == ACPI_ADR_SPACE_SMBUS) { |
116 | |||
116 | /* SMBus has a non-linear address space */ | 117 | /* SMBus has a non-linear address space */ |
117 | 118 | ||
118 | return_ACPI_STATUS(AE_OK); | 119 | return_ACPI_STATUS(AE_OK); |
@@ -491,6 +492,7 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, | |||
491 | value)); | 492 | value)); |
492 | 493 | ||
493 | if (read_write == ACPI_READ) { | 494 | if (read_write == ACPI_READ) { |
495 | |||
494 | /* Read the datum from the data_register */ | 496 | /* Read the datum from the data_register */ |
495 | 497 | ||
496 | status = | 498 | status = |
@@ -568,6 +570,7 @@ acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc, | |||
568 | /* If the mask is all ones, we don't need to worry about the update rule */ | 570 | /* If the mask is all ones, we don't need to worry about the update rule */ |
569 | 571 | ||
570 | if (mask != ACPI_INTEGER_MAX) { | 572 | if (mask != ACPI_INTEGER_MAX) { |
573 | |||
571 | /* Decode the update rule */ | 574 | /* Decode the update rule */ |
572 | 575 | ||
573 | switch (obj_desc->common_field. | 576 | switch (obj_desc->common_field. |
@@ -704,6 +707,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc, | |||
704 | /* Read the rest of the field */ | 707 | /* Read the rest of the field */ |
705 | 708 | ||
706 | for (i = 1; i < field_datum_count; i++) { | 709 | for (i = 1; i < field_datum_count; i++) { |
710 | |||
707 | /* Get next input datum from the field */ | 711 | /* Get next input datum from the field */ |
708 | 712 | ||
709 | field_offset += obj_desc->common_field.access_byte_width; | 713 | field_offset += obj_desc->common_field.access_byte_width; |
@@ -817,6 +821,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, | |||
817 | /* Write the entire field */ | 821 | /* Write the entire field */ |
818 | 822 | ||
819 | for (i = 1; i < field_datum_count; i++) { | 823 | for (i = 1; i < field_datum_count; i++) { |
824 | |||
820 | /* Write merged datum to the target field */ | 825 | /* Write merged datum to the target field */ |
821 | 826 | ||
822 | merged_datum &= mask; | 827 | merged_datum &= mask; |