[Acc] [PATCH 1/3] ecc: check need_debug before calling WD_DEBUG