- } else if (hw_const != ARK_DDM_CONST2) {
- PMD_DRV_LOG(ERR,
- "ARK: DDM module not found as expected 0x%08x\n",
- ddm->cfg.const0);
+ }
+
+ if (hw_const == ARK_DDM_CONST2) {
+ ARK_PMD_LOG(ERR,
+ "ARK: DDM module is version 2, "
+ "PMD expects version 3\n");