1
0
Fork 0

MLK-17492 drm/imx: dec400d: set read config to '0x0' when bypass dec400d

When the DEC400D is set to bypass mode from decompressed mode,
the read config should be set to disable compression along with
the control register. Otherwise, the DEC400D cannot really leave
the decompressed mode. And the value '0x0' is suitable to be set
to read config register in this case.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
pull/10/head
Fancy Fang 2018-02-01 23:21:58 +08:00 committed by Jason Liu
parent ebbac23d36
commit 164a61a9f4
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ void dcss_dec400d_bypass(struct dcss_soc *dcss)
uint32_t control;
struct dcss_dec400d_priv *dec400d = dcss->dec400d_priv;
dcss_dec400d_read_config(dcss, 0, false);
control = dcss_readl(dec400d->dec400d_reg + DEC400D_CONTROL);
pr_debug("%s: dec400d control = %#x\n", __func__, control);