Skip to content

Commit 166055b

Browse files
lozdzarnopo
authored andcommitted
remoteproc: fix notifyid assignment in handle_vdev_rsc
Fix the issue that it used vring_rsc->notifyid to allocate new IDs but finally updated vdev_rsc->notifyid rather than vring_rsc->notifyid. (See #314) Signed-off-by: Junyan Lin <junyanlin@allwinnertech.com>
1 parent f7640de commit 166055b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/remoteproc/rsc_table_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ int handle_vdev_rsc(struct remoteproc *rproc, void *rsc)
148148
notifyid,
149149
notifyid + 1);
150150
if (notifyid != RSC_NOTIFY_ID_ANY)
151-
vdev_rsc->notifyid = notifyid;
151+
vring_rsc->notifyid = notifyid;
152152
}
153153

154154
return 0;

0 commit comments

Comments
 (0)