diff options
| author | Johan Hovold <[email protected]> | 2023-09-29 10:16:49 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-09-30 19:00:20 +0000 |
| commit | 8894b432548851f705f72ff135d3dcbd442a18d1 (patch) | |
| tree | 843e06eb3f3b724f3a43d19edcc53c4c7ffe3aa4 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | power: supply: qcom_battmgr: fix battery_id type (diff) | |
| download | kernel-8894b432548851f705f72ff135d3dcbd442a18d1.tar.gz kernel-8894b432548851f705f72ff135d3dcbd442a18d1.zip | |
power: supply: qcom_battmgr: fix enable request endianness
Add the missing endianness conversion when sending the enable request so
that the driver will work also on a hypothetical big-endian machine.
This issue was reported by sparse.
Fixes: 29e8142b5623 ("power: supply: Introduce Qualcomm PMIC GLINK power supply")
Cc: [email protected] # 6.3
Cc: Bjorn Andersson <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Andrew Halaney <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
