[PATCH openEuler-5.10-LTS 07/28] net: phy: marvell: Fix invalid comparison in the resume and suspend functions