Re: [PATCH v2] drm/msm/dpu: Don't use devm for component devices

2018-11-05 Thread Jordan Crouse
On Mon, Nov 05, 2018 at 07:54:52AM +0100, Andrzej Hajda wrote: > On 02.11.2018 19:25, Jordan Crouse wrote: > > Devices that are bound as components should not use devm since > > device managed memory is not freed when the component is > > unbound. > > > > In particular this is an issue if the compo

Re: [PATCH v2] drm/msm/dpu: Don't use devm for component devices

2018-11-04 Thread Andrzej Hajda
On 02.11.2018 19:25, Jordan Crouse wrote: > Devices that are bound as components should not use devm since > device managed memory is not freed when the component is > unbound. > > In particular this is an issue if the compoent bind fails > due to an -EPROBE_DEFER. In this case the bind would try a

[PATCH v2] drm/msm/dpu: Don't use devm for component devices

2018-11-02 Thread Jordan Crouse
Devices that are bound as components should not use devm since device managed memory is not freed when the component is unbound. In particular this is an issue if the compoent bind fails due to an -EPROBE_DEFER. In this case the bind would try again later and any devm managed meory allocated durin