decoder: CB1 Optimize the decoding reset process for some chips. [1/1]

PD#SWPL-192312

Problem:
When the input data is insufficient, the decoder begins decoding without
waiting for the front and back module pipes to become idle. This causes
abnormal hardware states, leading to playback stuck.

Solution:
Add a wait mechanism during decoder reset to ensure that the front and back
module pipes are idle before starting the decoding process. This prevents
decoding errors.

Verify:
T3X

Change-Id: Ia5aed548f862fc15ca4139b53843a27449002185
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
4 files changed