]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
remoteproc: Calculate max_notifyid during load
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 11 Aug 2016 21:52:51 +0000 (14:52 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 18 Aug 2016 06:18:51 +0000 (23:18 -0700)
commitb35d7afc3ba9d5cf28655481aef1dd6a01c6421d
treed2c96e0a867d2c171685de1a6555ea04f43974dc
parentddf711872c9d2b05b0fb25db3e6e0c2a50be39e3
remoteproc: Calculate max_notifyid during load

The calculation of max_notifyid must only be done before we call start()
on the remoteproc drivers, so move the calculation to be part of the
loading steps.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c