• S
    remoteproc/davinci: simplify the reset function · 470ac62f
    Suman Anna 提交于
    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: NSuman Anna <s-anna@ti.com>
    Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
    470ac62f
da8xx_remoteproc.c 7.5 KB