lkml.org 
[lkml]   [2018]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH resend 0/5] remoteproc: updates for new events
Date
(This is just a rebase of https://lkml.org/lkml/2018/5/15/919)

This series changes the prototype for rproc_add_subdev(). The
caller is now responsible for populating the function pointers
recorded in the rproc_subdev structure, rather than having them be
passed as arguments. These two existing function pointers have been
renamed ("probe" is now "start" and "remove" is now "stop"), and
they are now optional. Callback functions may now also be assigned
for two new events (prior to start and after stop).

-Alex

Alex Elder (1):
remoteproc: rename subdev probe and remove functions

Bjorn Andersson (4):
remoteproc: Rename subdev functions to start/stop
remoteproc: Make start and stop in subdev optional
remoteproc: Make client initialize ops in rproc_subdev
remoteproc: Introduce prepare and unprepare for subdevices

drivers/remoteproc/qcom_common.c | 26 ++++---
drivers/remoteproc/qcom_sysmon.c | 5 +-
drivers/remoteproc/remoteproc_core.c | 110 ++++++++++++++++++++-------
include/linux/remoteproc.h | 19 ++---
4 files changed, 109 insertions(+), 51 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2018-06-26 03:34    [W:0.067 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site