aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/devices/maguro/maguro.c
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/devices/maguro/maguro.c')
-rw-r--r--samsung-ipc/devices/maguro/maguro.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/samsung-ipc/devices/maguro/maguro.c b/samsung-ipc/devices/maguro/maguro.c
index eee0c0a..797ce43 100644
--- a/samsung-ipc/devices/maguro/maguro.c
+++ b/samsung-ipc/devices/maguro/maguro.c
@@ -69,14 +69,14 @@ int maguro_boot(struct ipc_client *client)
}
ipc_client_log(client, "Opened modem boot device");
- rc = xmm626_sec_modem_power(modem_boot_fd, 0);
+ rc = xmm626_sec_modem_power(client, modem_boot_fd, 0);
if (rc < 0) {
ipc_client_log(client, "Turning the modem off failed");
goto error;
}
ipc_client_log(client, "Turned the modem off");
- rc = xmm626_sec_modem_power(modem_boot_fd, 1);
+ rc = xmm626_sec_modem_power(client, modem_boot_fd, 1);
if (rc < 0) {
ipc_client_log(client, "Turning the modem on failed");
goto error;
@@ -177,14 +177,14 @@ int maguro_boot(struct ipc_client *client)
}
ipc_client_log(client, "Sent XMM626 MIPI HW reset");
- rc = xmm626_sec_modem_status_online_wait(modem_boot_fd);
+ rc = xmm626_sec_modem_status_online_wait(client, modem_boot_fd);
if (rc < 0) {
ipc_client_log(client, "Waiting for online status failed");
goto error;
}
ipc_client_log(client, "Waited for online status");
- rc = xmm626_sec_modem_boot_power(modem_boot_fd, 0);
+ rc = xmm626_sec_modem_boot_power(client, modem_boot_fd, 0);
if (rc < 0) {
ipc_client_log(client, "Turning modem boot off failed");
goto error;
@@ -305,7 +305,7 @@ int maguro_power_off(__attribute__((unused)) struct ipc_client *client,
if (fd < 0)
return -1;
- rc = xmm626_sec_modem_power(fd, 0);
+ rc = xmm626_sec_modem_power(client, fd, 0);
close(fd);