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

Fabio Estevam festevam at gmail.com
Wed May 14 14:27:57 PDT 2014


On Wed, May 14, 2014 at 6:24 PM, Philipp Zabel <philipp.zabel at gmail.com> 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
> long as the hdmi platform device stays bound).
> While at it, request the irq only after the interrupt handler mutes are
> set up, to avoid spurious interrupts.
> Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>

This one does not apply against the latest version from linux-next.

More information about the dri-devel mailing list