[PATCH 5.10 07/30] net: phy: marvell: Fix invalid comparison in the resume and suspend functions