[PATCH] imx-drm: imx-hdmi: move memory and resource allocation into probe function

2014-05-15 Thread Thierry Reding
On Wed, May 14, 2014 at 11:24:14PM +0200, Philipp Zabel wrote: > Move memory allocation and resource acquisition from the bind function into > the probe function. This calls the devres managed functions once instead of > possibly multiple times in the bind function and avoids leaking memory (as >

[PATCH] imx-drm: imx-hdmi: move memory and resource allocation into probe function

2014-05-15 Thread Philipp Zabel
Move memory allocation and resource acquisition from the bind function into the probe function. This calls the devres managed functions once instead of possibly multiple times in the bind function and avoids leaking memory (as long as the hdmi platform device stays bound). While at it, request

[PATCH] imx-drm: imx-hdmi: move memory and resource allocation into probe function

2014-05-14 Thread Fabio Estevam
Philipp, On Wed, May 14, 2014 at 6:24 PM, Philipp Zabel wrote: > Move memory allocation and resource acquisition from the bind function into > the probe function. This calls the devres managed functions once instead of > possibly multiple times in the bind function and avoids leaking memory (as