On Wed, Aug 28, 2013 at 11:39:11AM -0300, Fabio Estevam wrote: > On Wed, Aug 28, 2013 at 2:27 AM, Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > Nack. We need the references to prevent that encoders/connectors are > > (de)registered while the device is active. Simply dropping this code is > > no solution. > > Any suggestions about a proper way of handling this? > > After b5dc0d10, imx_drm_device_get() is called from > imx_drm_driver_load(), which increments the 'references' very early > now.
Do the open/close callbacks work? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/