summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/remoteproc
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2017-05-18 17:09:01 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-06-25 14:00:54 -0700
commita63c70d4dc93628147b76b4081838f913c0dbe6e (patch)
tree930ce94a6ae80b5bacfaac0341e376d5489b59fd /Documentation/devicetree/bindings/remoteproc
parent470ac62fe557b905324ccecb3a20ad686672d22e (diff)
remoteproc/davinci: fix unbalanced reset between start and stop ops
The davinci remoteproc driver is currently de-asserting the reset in its rproc .start() ops, but is not asserting the reset in its .stop() ops. This leaves the remote processor to not boot properly when using the sysfs 'state' variable between multiple start and stop operations. On the other hand, a reset is being asserted unconditionally in the driver remove function to alleviate some of these issues. Move this reset assertion logic into the .stop() ops implementation to fix the sysfs state-machine and the unbalanced reset. The logic from remove is still effective since .stop() ops will be invoked during the remove due to the enabled 'auto-boot' support. The probe already has support for asserting the reset in case the DSP is not in reset for some reason. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/remoteproc')
0 files changed, 0 insertions, 0 deletions