We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383eba9 commit 8894b43Copy full SHA for 8894b43
drivers/power/supply/qcom_battmgr.c
@@ -1282,9 +1282,9 @@ static void qcom_battmgr_enable_worker(struct work_struct *work)
1282
{
1283
struct qcom_battmgr *battmgr = container_of(work, struct qcom_battmgr, enable_work);
1284
struct qcom_battmgr_enable_request req = {
1285
- .hdr.owner = PMIC_GLINK_OWNER_BATTMGR,
1286
- .hdr.type = PMIC_GLINK_NOTIFY,
1287
- .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),
1288
};
1289
int ret;
1290
0 commit comments