Re: [PATCH v2] rpmsg: smd: do not use mananged resources for endpoints and channels

2018-06-04 Thread Bjorn Andersson
On Mon 04 Jun 02:39 PDT 2018, Srinivas Kandagatla wrote: > All the managed resources would be freed by the time release function > is invoked. Handling such memory in qcom_smd_edge_release() would do > bad things. > > Found this issue while testing Audio usecase where the dsp is started up > and

[PATCH v2] rpmsg: smd: do not use mananged resources for endpoints and channels

2018-06-04 Thread Srinivas Kandagatla
All the managed resources would be freed by the time release function is invoked. Handling such memory in qcom_smd_edge_release() would do bad things. Found this issue while testing Audio usecase where the dsp is started up and shutdown in a loop. This patch fixes this issue by using simple kzall