public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
* unmap memory mapped with devm_ioremap_resource
@ 2022-12-02 17:24 Adrian Fiergolski
  2022-12-02 18:01 ` Constantine Shulyupin
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Fiergolski @ 2022-12-02 17:24 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I am extending xilinx-hls driver 
(https://github.com/Xilinx/linux-xlnx/blob/master/drivers/media/platform/xilinx/xilinx-hls.c) 
to support of_overlay.

In order to reflect in the driver changes being applied by the overlay 
to the device tree, I need to unmap first the memory mapped with 
devm_ioremap_resource. How to do it properly?

I think it's uncommon, as normally kernel (devm_* functions) manages 
those resources itself with devres, so I can't find inspiration in other 
drivers.

Regards,
Adrian



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-10  6:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 17:24 unmap memory mapped with devm_ioremap_resource Adrian Fiergolski
2022-12-02 18:01 ` Constantine Shulyupin
2022-12-06 21:23   ` Adrian Fiergolski
2022-12-09 16:14     ` Adrian Fiergolski
2022-12-09 19:58       ` jim.cromie
2022-12-09 20:35         ` Valdis Klētnieks
2022-12-09 22:52           ` Adrian Fiergolski
2022-12-10  6:53             ` Constantine Shulyupin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox