summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2017-05-18 17:09:00 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-06-25 14:00:00 -0700
commit470ac62fe557b905324ccecb3a20ad686672d22e (patch)
tree77a9467f7dac06674e50978daeb027fc575f80ee /samples
parentc51e882cd711abfa11e29f46cd7a73ce41ba1cf4 (diff)
downloadlinux-470ac62fe557b905324ccecb3a20ad686672d22e.tar.gz
linux-470ac62fe557b905324ccecb3a20ad686672d22e.tar.bz2
linux-470ac62fe557b905324ccecb3a20ad686672d22e.zip
remoteproc/davinci: simplify the reset function
The reset_assert() function is used to make sure the DSP remote processor is in a reset state regardless of its previous state. The driver relies on davinci_clk_reset_{assert,deassert}() functions for reset management which take in a clock parameter. The assert_reset() performs a clk_get()/clk_put() cycle to acquire the clock handle to use with this function. This is totally unnecessary and the code can be simplified to use the clock acquired during probe and directly use the reset functions, so simplify this logic. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions