diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-02-04 10:36:16 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-02-04 10:36:19 +0100 |
commit | 89536cf4d8ab356b0040c6ed899192639201e397 (patch) | |
tree | 7d664ddf65d44bf967ed23d2fedf75f936816c15 | |
parent | 23221b4919823b642026aea117c1228c152d9d57 (diff) | |
download | hardware_replicant_libsamsung-ipc-89536cf4d8ab356b0040c6ed899192639201e397.tar.gz hardware_replicant_libsamsung-ipc-89536cf4d8ab356b0040c6ed899192639201e397.tar.bz2 hardware_replicant_libsamsung-ipc-89536cf4d8ab356b0040c6ed899192639201e397.zip |
devices: generic: remove lsusb call
We don't need this debugging anymore and we don't want to depend on
lsusb somehow.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | samsung-ipc/devices/generic/generic.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/samsung-ipc/devices/generic/generic.c b/samsung-ipc/devices/generic/generic.c index 0cf25d9..a868526 100644 --- a/samsung-ipc/devices/generic/generic.c +++ b/samsung-ipc/devices/generic/generic.c @@ -368,8 +368,6 @@ int generic_boot(struct ipc_client *client) ipc_client_log(client, "Starting generic modem boot"); - system("lsusb"); - modem_image_fd = open_android_modem_partition_by_name(client, "RADIO", &path); if (modem_image_fd == -1) { @@ -412,7 +410,6 @@ int generic_boot(struct ipc_client *client) } ipc_client_log(client, "Turned the modem off"); - system("lsusb"); rc = xmm626_kernel_linux_modem_power(unused, 1); ipc_client_log(client, @@ -436,8 +433,6 @@ int generic_boot(struct ipc_client *client) } ipc_client_log(client, "Turned the modem on"); - system("lsusb"); - rc = 0; do { modem_boot_fd = open(XMM626_KERNEL_LINUX_BOOT0_DEVICE, @@ -551,13 +546,11 @@ int generic_boot(struct ipc_client *client) goto error; } ipc_client_log(client, "Turned the modem on"); - system("lsusb"); + ipc_client_log(client, "Wait for the modem to come up again", __func__); sleep(10); - system("lsusb"); - ipc_client_log(client, "%s complete", __func__); sleep(7); |