Commits
Robby Cai committed cf961f26861
MLK-15079 video: mipi_dsi_samsung: fix reset failure for mipi dsi mxc_mipi_dsi_samsung 30760000.mipi-dsi: MIPI DSI dispdrv inited! mxsfb 30730000.lcdif: registered mxc display driver mipi_dsi_samsung mxc_mipi_dsi_samsung 30760000.mipi-dsi: failed to reset device: -517 mxsfb 30730000.lcdif: failed to enable dispdrv:mipi_dsi_samsung due to the commit e188cbf7564fba80e8339b9406e8740f3e495c63 "gpio: mxc: shift gpio_mxc_init() to subsys_initcall level", and gpio_reset uses arch_initcall level, the gpio driver is not yet ready when call device_reset() thus return -EPROBE_DEFER. But the caller of device_reset(), mipi_dsi_enable() has no defer strategy. use of_reset_control_get() function in init() function, which will be called in probe function in mxsfb driver, to workaround the defer case. Acked-by: Fang Chen <chen.fang@nxp.com> Acked-by: Cristina-mihaela Ciocan <cristina-mihaela.ciocan@nxp.com> Signed-off-by: Robby Cai <robby.cai@nxp.com> (cherry picked from commit 5e90ffe698d08010b52104431409b2c45dcbca52)