[PATCH openEuler-5.10 v2 067/548] media: atomisp: do not use err var when checking port validity for ISP2400