On 19/04/2024 20:45, Krzysztof Kozlowski wrote: >> >>> >>>> Remoteproc module depends on this symbol. Once q6v5 remoteproc modules >>>> are unloaded this module can be unloaded too. >>> >>> I am pretty sure you can unload this and get crashes. >> >> If for some reason somebody has called qcom_pdm_get() without >> qcom_pdm_release(), then yes. To make it 100% safe, I can cleanup >> actions to module_exit(), but for me it looks like an overkill. > > I'll come with some more concrete example if you are not convinced. It's not possible, this code does not compile. I fixed one thing but then it fails in other places. This was probably never built and for sure never really compile-tested in few more configurations. Best regards, Krzysztof