Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d38bb002 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki
Browse files

ACPICA: Update for comments/formatting. No functional changes.



Fix some issues detected by acpisrc utility.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 90da690b
Loading
Loading
Loading
Loading
+10 −12
Original line number Original line Diff line number Diff line
@@ -186,12 +186,11 @@ acpi_ex_read_data_from_field(struct acpi_walk_state * walk_state,
								  access_length);
								  access_length);


			/*
			/*
			 * Add additional 2 bytes for modeled generic_serial_bus data buffer:
			 * Add additional 2 bytes for the generic_serial_bus data buffer:
			 * typedef struct {
			 *
			 *     BYTEStatus; // Byte 0 of the data buffer
			 *     Status;      (Byte 0 of the data buffer)
			 *     BYTELength; // Byte 1 of the data buffer
			 *     Length;      (Byte 1 of the data buffer)
			 *     BYTE[x-1]Data; // Bytes 2-x of the arbitrary length data buffer,
			 *     Data[x-1];   (Bytes 2-x of the arbitrary length data buffer)
			 * }
			 */
			 */
			length += 2;
			length += 2;
			function = ACPI_READ | (accessor_type << 16);
			function = ACPI_READ | (accessor_type << 16);
@@ -368,12 +367,11 @@ acpi_ex_write_data_to_field(union acpi_operand_object *source_desc,
								  access_length);
								  access_length);


			/*
			/*
			 * Add additional 2 bytes for modeled generic_serial_bus data buffer:
			 * Add additional 2 bytes for the generic_serial_bus data buffer:
			 * typedef struct {
			 *
			 *     BYTEStatus; // Byte 0 of the data buffer
			 *     Status;      (Byte 0 of the data buffer)
			 *     BYTELength; // Byte 1 of the data buffer
			 *     Length;      (Byte 1 of the data buffer)
			 *     BYTE[x-1]Data; // Bytes 2-x of the arbitrary length data buffer,
			 *     Data[x-1];   (Bytes 2-x of the arbitrary length data buffer)
			 * }
			 */
			 */
			length += 2;
			length += 2;
			function = ACPI_WRITE | (accessor_type << 16);
			function = ACPI_WRITE | (accessor_type << 16);