Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic loading leaks memory #28

Open
zanppa opened this issue Dec 10, 2019 · 0 comments
Open

Dynamic loading leaks memory #28

zanppa opened this issue Dec 10, 2019 · 0 comments

Comments

@zanppa
Copy link

zanppa commented Dec 10, 2019

Hi.

I use the waveshare35a overlay and I dynamically load and unload it (with dtoverlay) to allow switching between the basic driver with touchscreen and the fast fbcp-ili9341 display driver. When I load the overlay, I get following in dmesg output:

[4128.078175] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/status
[ 4128.900895] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/status
[ 4128.900923] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/spidev@0/status
[ 4128.900939] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/spidev@1/status

Is this something that can be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant