PD#SWPL-6070
Problem:
flash garbages when unreg process.
Solution:
can't speed down the clkb rate, there is a mirror mode
Verify:
tl1
Change-Id: I5fcc29a1cda196992a457f40fee31992f4bc1528
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
static dev_t di_devno;
static struct class *di_clsp;
-static const char version_s[] = "2019-03-20a";
+static const char version_s[] = "2019-03-22va";
static int bypass_state = 1;
static int bypass_all;
di_pre_stru.disable_req_flag) &&
(di_pre_stru.pre_de_busy == 0)) {
di_unreg_process();
+ #if 0
+ /* if mirror mode, can't speed down the clk*/
/* set min rate for power saving */
if (de_devp->vpu_clkb) {
clk_set_rate(de_devp->vpu_clkb,
de_devp->clkb_min_rate);
}
+ #endif
}
if (di_pre_stru.reg_req_flag_irq ||
di_pre_stru.reg_req_flag) {