File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ static inline void __dc_op_before(const int op)
120120
121121 if (op == OP_INV ) {
122122 val &= ~DC_CTRL_INV_MODE_FLUSH ;
123+ } else {
124+ val |= DC_CTRL_INV_MODE_FLUSH ;
123125 }
124126
125127 /*
Original file line number Diff line number Diff line change @@ -369,6 +369,8 @@ static inline void __before_dc_op(const int op)
369369 */
370370 if (op == OP_INV ) {
371371 val &= ~DC_CTRL_INV_MODE_FLUSH ;
372+ } else {
373+ val |= DC_CTRL_INV_MODE_FLUSH ;
372374 }
373375
374376#ifdef USE_RGN_FLSH
@@ -400,7 +402,7 @@ static inline void __after_dc_op(const int op)
400402 ;
401403
402404 /* Switch back to default Invalidate mode */
403- if (op == OP_INV )
405+ if (op == OP_FLUSH )
404406 write_aux_reg (ctl , reg | DC_CTRL_INV_MODE_FLUSH );
405407 }
406408}
You can’t perform that action at this time.
0 commit comments