summaryrefslogtreecommitdiffstats
path: root/firmware/3com
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2017-05-19 00:09:00 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-06-25 23:00:00 +0200
commit470ac62fe557b905324ccecb3a20ad686672d22e (patch)
tree77a9467f7dac06674e50978daeb027fc575f80ee /firmware/3com
parentremoteproc/davinci: Update Kconfig to depend on DMA_CMA (diff)
downloadlinux-470ac62fe557b905324ccecb3a20ad686672d22e.tar.xz
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 'firmware/3com')
0 files changed, 0 insertions, 0 deletions