drm/atmel-hlcdc: Rework the fbdev creation logic
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 28 Nov 2016 14:56:53 +0000 (15:56 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 30 Jan 2017 09:49:34 +0000 (10:49 +0100)
commitdb02b7614a54bf0bf548db07bc8d3e7518fd9481
treea892d11be8978a058b8db4844dac7fa7ce446ba5
parent7ce7d89f48834cefece7804d38fc5d85382edf77
drm/atmel-hlcdc: Rework the fbdev creation logic

Now that we wait for DRM panels to be available before registering the
DRM device (returning -EPROBE_DEFER if the panel has not been probed
yet), we no longer need to put the fbdev creation code in
->output_poll_changed().

This removes the 10 secs delay between DRM dev registration and fbdev
creation (polling period = 10 seconds).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Alex Vazquez <avazquez.dev@gmail.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c