Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a9b24f2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Slim_ngd: Don't create the device node per SSR"

parents e1c45d35 320e8926
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1140,6 +1140,7 @@ static int ngd_notify_slaves(void *data)
		wait_for_completion(&dev->qmi.slave_notify);
		/* Probe devices for first notification */
		if (!i) {
			i++;
			dev->err = 0;
			if (dev->dev->of_node)
				of_register_slim_devices(&dev->ctrl);
@@ -1152,12 +1153,12 @@ static int ngd_notify_slaves(void *data)
		} else {
			slim_framer_booted(ctrl);
		}
		i++;
		mutex_lock(&ctrl->m_ctrl);
		list_for_each_safe(pos, next, &ctrl->devs) {
			int j;
			sbdev = list_entry(pos, struct slim_device, dev_list);
			mutex_unlock(&ctrl->m_ctrl);
			for (i = 0; i < LADDR_RETRY; i++) {
			for (j = 0; j < LADDR_RETRY; j++) {
				ret = slim_get_logical_addr(sbdev,
						sbdev->e_addr,
						6, &sbdev->laddr);