AnsweredAssumed Answered

How to unload mxc_ipuv3_fb?

Question asked by jotes on Nov 26, 2018
Latest reply on Nov 30, 2018 by jotes



In our project we want to load mxc_ipuv3_fb driver as a module and unload it when it is not used. We have no problem with loading it (for example to work with ldb driver), but when we are trying to unload, it shows:


# modprobe -r mxc_ipuv3_fb

modprobe: can't unload module mxc_ipuv3_fb: Resource temporarily unavailable


# lsmod

Module                  Size  Used by    Tainted: P

mxc_ipuv3_fb           44938  1

ldb                     9401  0

mxc_dispdrv             1705  2 mxc_ipuv3_fb,ldb

My question is, how to stop mxc_ipuv3_fb and unload it properly?


Basically, we want to do this because we need to register two drivers to one Display Interface (more specifically, we want to connect HDMI driver and CVBS driver to IPU0 DI1, and let the userspace application choose between them). Is there any other way to do this (without reloading display module)?