Thread (33 messages) flat view 33 messages, 4 authors, 2021-03-04

Re: [PATCH 08/10] soc: fujitsu: hwb: Add release operation

From: Arnd Bergmann <arnd@kernel.org>
Date: 2021-01-08 13:27:29

On Fri, Jan 8, 2021 at 11:52 AM Misono Tomohiro
[off-list ref] wrote:
Upon release, we cleanup remaining resources/registers if necessary.
This happens when user does not call IOC_BB_FREE properly and the
function will do effectively the same operation as IOC_BB_FREE.

Signed-off-by: Misono Tomohiro <redacted>
What is the benefit of calling IOC_BB_FREE instead of always relying
on close() to do this? Would it be easier to just not implement IOC_BB_FREE?

      Arnd

_______________________________________________
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