summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_fabric_configfs.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2015-05-22 15:45:27 -0500
committerOhad Ben-Cohen <ohad@wizery.com>2015-06-16 21:12:52 +0300
commitfec47d863587c272d6fbf4e50066209c953d5e60 (patch)
tree69d0df993b81d611cb3f878c66c8cb8a21ae8a1a /drivers/target/target_core_fabric_configfs.c
parent172e6ab1caffcd2dd2910b44d88d096f2c6985fa (diff)
downloadop-kernel-dev-fec47d863587c272d6fbf4e50066209c953d5e60.zip
op-kernel-dev-fec47d863587c272d6fbf4e50066209c953d5e60.tar.gz
remoteproc: introduce rproc_get_by_phandle API
Allow users of remoteproc the ability to get a handle to an rproc by passing a phandle supplied in the user's device tree node. This is useful in situations that require manual booting of the rproc. This patch uses the code removed by commit 40e575b1d0b3 ("remoteproc: remove the get_by_name/put API") for the ref counting but is modified to use a simple list and locking mechanism and has rproc_get_by_name replaced with an rproc_get_by_phandle API. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> [fix order of Signed-off-by tags] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/target/target_core_fabric_configfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud