Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'rproc-v4.17-1' of git://github.com/andersson/remoteproc

Pull remoteproc and rpmsg fixes from Bjorn Andersson:

- fix screw-up when reversing boolean for rproc_stop()

- add missing OF node refcounting dereferences

- add missing MODULE_ALIAS in rpmsg_char

* tag 'rproc-v4.17-1' of git://github.com/andersson/remoteproc:
rpmsg: added MODULE_ALIAS for rpmsg_char
remoteproc: qcom: Fix potential device node leaks
remoteproc: fix crashed parameter logic on stop call

+7 -3
+2
drivers/remoteproc/qcom_q6v5_pil.c
··· 1083 1083 dev_err(qproc->dev, "unable to resolve mba region\n"); 1084 1084 return ret; 1085 1085 } 1086 + of_node_put(node); 1086 1087 1087 1088 qproc->mba_phys = r.start; 1088 1089 qproc->mba_size = resource_size(&r); ··· 1101 1100 dev_err(qproc->dev, "unable to resolve mpss region\n"); 1102 1101 return ret; 1103 1102 } 1103 + of_node_put(node); 1104 1104 1105 1105 qproc->mpss_phys = qproc->mpss_reloc = r.start; 1106 1106 qproc->mpss_size = resource_size(&r);
+2 -2
drivers/remoteproc/remoteproc_core.c
··· 1163 1163 if (ret) 1164 1164 return ret; 1165 1165 1166 - ret = rproc_stop(rproc, false); 1166 + ret = rproc_stop(rproc, true); 1167 1167 if (ret) 1168 1168 goto unlock_mutex; 1169 1169 ··· 1316 1316 if (!atomic_dec_and_test(&rproc->power)) 1317 1317 goto out; 1318 1318 1319 - ret = rproc_stop(rproc, true); 1319 + ret = rproc_stop(rproc, false); 1320 1320 if (ret) { 1321 1321 atomic_inc(&rproc->power); 1322 1322 goto out;
+2
drivers/rpmsg/rpmsg_char.c
··· 581 581 unregister_chrdev_region(rpmsg_major, RPMSG_DEV_MAX); 582 582 } 583 583 module_exit(rpmsg_chrdev_exit); 584 + 585 + MODULE_ALIAS("rpmsg:rpmsg_chrdev"); 584 586 MODULE_LICENSE("GPL v2");
+1 -1
include/linux/remoteproc.h
··· 569 569 void rproc_add_subdev(struct rproc *rproc, 570 570 struct rproc_subdev *subdev, 571 571 int (*probe)(struct rproc_subdev *subdev), 572 - void (*remove)(struct rproc_subdev *subdev, bool graceful)); 572 + void (*remove)(struct rproc_subdev *subdev, bool crashed)); 573 573 574 574 void rproc_remove_subdev(struct rproc *rproc, struct rproc_subdev *subdev); 575 575