Re: [PATCH] gpio: omap: prevent module from being unloaded while in use

2015-07-16 Thread Linus Walleij
On Thu, Jun 25, 2015 at 5:13 PM, Grygorii Strashko wrote: > OMAP GPIO driver allowed to be built as loadable module, but it > doesn't set owner field in GPIO chip structure. As result, > module_get/put() API is not working and it's possible to unload > OMAP driver while in use: > > omap_gpio 48

Re: [PATCH] gpio: omap: prevent module from being unloaded while in use

2015-07-06 Thread Grygorii Strashko
On 06/30/2015 04:52 PM, Alexandre Courbot wrote: > On Fri, Jun 26, 2015 at 12:13 AM, Grygorii Strashko > wrote: >> OMAP GPIO driver allowed to be built as loadable module, but it >> doesn't set owner field in GPIO chip structure. As result, >> module_get/put() API is not working and it's possible

Re: [PATCH] gpio: omap: prevent module from being unloaded while in use

2015-06-30 Thread Alexandre Courbot
On Fri, Jun 26, 2015 at 12:13 AM, Grygorii Strashko wrote: > OMAP GPIO driver allowed to be built as loadable module, but it > doesn't set owner field in GPIO chip structure. As result, > module_get/put() API is not working and it's possible to unload > OMAP driver while in use: > > omap_gpio 48