mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 05:14:52 +08:00
Power Supply Fixes for 6.6 cycle
* qcom_battmgr: endianness fixes -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmUon44ACgkQ2O7X88g7 +pqxjg/9E0CIfgV4Pb4wThCiauAp8f331uNAIrY2elWAycKCX/VGumyojtZf3gYR M96EWKyP43QWP134xfDDmM63GARU9n8DDostib2NI3ul1j4rZ2czeuvEwrhC+LH0 QLaZ30uwR2WDaSkbSyIFpeR8lVA7OjrQwonC17uWfaKE5qS+SYoFux5RK/LFulwK 9dlcvrtCim86qWemqWPH4kKYCTCH72wxQSOviMg2vQ4y0XjxVSPqrFssQmgr/FnO TsDp7hQTk6E5K78GyWYRwZB+deNwNvCajOqDd6W7idSbaUi7iBUY87qpFDZA5ghe q3MWlaE11qqspf3nNYiaJADn8QESZDZvr95LwtkbEAo0m6LWgytCYpNfAlRM+g1J iP9rlt8A8y05DURvUl/y/JJEkM++MvJ/XMylbwtfcT8Xmf/UMqC8O4M4H6MZmeCN Cq8Ql3m5ozEh3IBXtbiGHu0i3uPTBE6URb7Ob9lkecsFRzj72BpzaS/o6g4bm8uN qwO61PXB9Yx61gemnGCpm9R0pgxgwwznDk0JTVhF9qZ82geiap0OXnwIqXVPK/sU 0FRK26j5Xf2tH2IqHED8fNkhSc1cjJnMRp5LPYgu3Y1fhD2aBYDywQjdyAUai2B9 89VL5M5gbe9+144mrLFLdreek3A9QOBWG9uz1i1R/ThyLNf32a0= =DSYH -----END PGP SIGNATURE----- Merge tag 'for-v6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply Pull power supply fixes from Sebastian Reichel: - qcom_battmgr: endianness fixes * tag 'for-v6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: power: supply: qcom_battmgr: fix enable request endianness power: supply: qcom_battmgr: fix battery_id type
This commit is contained in:
commit
ce583d5fb9
@ -105,7 +105,7 @@ struct qcom_battmgr_property_request {
|
||||
|
||||
struct qcom_battmgr_update_request {
|
||||
struct pmic_glink_hdr hdr;
|
||||
u32 battery_id;
|
||||
__le32 battery_id;
|
||||
};
|
||||
|
||||
struct qcom_battmgr_charge_time_request {
|
||||
@ -1282,9 +1282,9 @@ static void qcom_battmgr_enable_worker(struct work_struct *work)
|
||||
{
|
||||
struct qcom_battmgr *battmgr = container_of(work, struct qcom_battmgr, enable_work);
|
||||
struct qcom_battmgr_enable_request req = {
|
||||
.hdr.owner = PMIC_GLINK_OWNER_BATTMGR,
|
||||
.hdr.type = PMIC_GLINK_NOTIFY,
|
||||
.hdr.opcode = BATTMGR_REQUEST_NOTIFICATION,
|
||||
.hdr.owner = cpu_to_le32(PMIC_GLINK_OWNER_BATTMGR),
|
||||
.hdr.type = cpu_to_le32(PMIC_GLINK_NOTIFY),
|
||||
.hdr.opcode = cpu_to_le32(BATTMGR_REQUEST_NOTIFICATION),
|
||||
};
|
||||
int ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user