This reverts commit
dfcdaaf118866f4ac77b8962e1b1e1e91503e1b4.
If encoder is removed from hdmi_poweroff(), vblank is not enabled when
dpms is turned on after off. So do not remove the encoder from
hdmi_poweroff(). For another reason, the encoder is created when it
binds, and it is released when destory.
Change-Id: I242eddf4842cb005bc1d21e37d30b5588bd532d1
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
pm_runtime_put_sync(hdata->dev);
- hdata->encoder->crtc = NULL;
- hdata->connector.encoder = NULL;
hdata->applied = false;
hdata->powered = false;
}