On 07/22/2014 05:23 PM, YoungJun Cho wrote: > Hi Varka, > > On 07/22/2014 08:14 PM, Varka Bhadram wrote: >> On 07/22/2014 04:40 PM, YoungJun Cho wrote: >>> Hi Varka, >>> >>> This irq handler should be registered in attach() and unregistered in >>> detach(). >>> >>> The devm_* APIs are released(freed) in remove(), right? >>> >>> Logically the panel could be attached and detached several times after >>> dsi is probed and not removed. >>> So I don't use devm_* APIs. >> >> You meant to say that in-case of GPIOs also you are following the same >> thing ..? >> >> Means requesting the GPIOs and Releasing several times ..? >> > > Yes, this TE gpio is came from panel. > So it should be refresh whenever a (new) panel is attached. > In this case it would be fine. Thanks for the clarity.
-- Regards, Varka Bhadram.