MLK-16581-3 drm/imx: ldb: Get bypass & pixel clock rates before setting their rates
authorLiu Ying <victor.liu@nxp.com>
Fri, 13 Oct 2017 04:30:46 +0000 (12:30 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit8caf1f41c50c7459071ea0054e72a12b1a2ff1dc
tree48513184afd40aaeea408444a768446a2543704c
parent5bac8f515b2678ef0dc54c4f0b241f009ec6f14c
MLK-16581-3 drm/imx: ldb: Get bypass & pixel clock rates before setting their rates

Due to i.MX8 clock issue, we need to get bypass and pixel clock rates
before setting their rates when system resumes back from PM sleep mode,
otherwise, we'll fail to set the clock rates.  So, this is a workaround
and it can be removed when the clock issue is properly fixed.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit 17b68807bd789e4efccda7f06d2268e845527f9e)
drivers/gpu/drm/imx/imx-ldb.c