Thread (7 messages) 7 messages, 3 authors, 2020-10-01

Re: [PATCH v2] pinctrl: mediatek: Free eint data on failure

From: Linus Walleij <hidden>
Date: 2020-09-30 08:47:33
Also in: linux-gpio, linux-mediatek, lkml

On Sun, Sep 27, 2020 at 7:57 PM Sean Wang [off-list ref] wrote:
v2 seems the same with v1 or I was missing something.

I just thought we call devm_ioremap_release to explicitly to free
resource when a certain failure occurs after
devm_ioremap_resource?
What is the semantics around mtk_build_eint()?

If it is called on the probe path no explicit free:ing is
necessary: anytime probe() exits with an error code,
any devm* resources will be free:ed.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help