PD#SWPL-35372
PD#SWPL-35326
Problem:
The port is not released due to an error in the judgment variable.
Solution:
clear ports status when inst exit.
Verify:
AB311
Change-Id: I837ee6b2719a1dfc232f96ccb296c02d0dad2c43
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
port->pcr_inited = 0;
if (!is_mult_inc(port->type) ||
- (is_mult_inc(port->flag) &&
+ (is_mult_inc(port->type) &&
!is_support_no_parser()))
port->flag = 0;
}
if (!is_mult_inc(port->type) ||
- (is_mult_inc(port->flag) &&
+ (is_mult_inc(port->type) &&
!is_support_no_parser()))
port->flag = 0;