linux-stable/include/linux/surface_aggregator
Maximilian Luz 3f88b459a7 platform/surface: aggregator: Improve documentation and handling of message target and source IDs
The `tid_in` and `tid_out` fields of the serial hub protocol command
struct (struct ssh_command) are actually source and target IDs,
indicating the peer from which the message originated and the peer for
which it is intended.

Change the naming of those fields accordingly and improve the protocol
documentation. Additionally, introduce an enum containing all currently
known peers, i.e. targets and sources.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20221202223327.690880-3-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-02-02 22:48:20 +01:00
..
controller.h platform/surface: aggregator: Improve documentation and handling of message target and source IDs 2023-02-02 22:48:20 +01:00
device.h platform/surface: aggregator: Move device registry helper functions to core module 2022-07-02 11:23:14 +02:00
serial_hub.h platform/surface: aggregator: Improve documentation and handling of message target and source IDs 2023-02-02 22:48:20 +01:00