On Tue, 25 Oct 2016 08:44:22 +0200 Daniel Vetter <dan...@ffwll.ch> wrote:
> > + /* start the subdevices */ > > + ret = component_bind_all(dev, drm); > > + if (ret < 0) > > + goto out2; > > + > > + ret = drm_dev_register(drm, 0); > > This needs to be the very last step in your driver load sequence. > Kerneldoc explains why. Similar, but inverted for unloading: > drm_dev_unregister is the very first thing you must call. Thanks, and also for embedding the drm device. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.