diff options
| author | Alexander Wilhelm <alexander.wilhelm@westermo.com> | 2025-11-19 11:40:07 +0100 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-01-16 08:19:46 -0600 |
| commit | fe099c387e06b566840449ac21008db1b25ad1f4 (patch) | |
| tree | 364e09aad736c3f86638479ec4484a405d72f506 /include/linux/soc | |
| parent | d9c83903be080a6bc25ccabaafe5487836a7e1a7 (diff) | |
soc: qcom: preserve CPU endianness for QMI_DATA_LEN
To ensure correct handling of endianness in the QMI subsystem, the
QMI_DATA_LEN field used in host-side drivers remains in CPU-native byte
order. Remove unnecessary endianness conversions, considering that
QMI_DATA_LEN is always of type `u32` on the host. On the QMI wire
interface, however, its representation is variable and may use either 1 or
2 bytes.
Signed-off-by: Alexander Wilhelm <alexander.wilhelm@westermo.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251119104008.3505152-4-alexander.wilhelm@westermo.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/soc')
0 files changed, 0 insertions, 0 deletions
