net: phy: mediatek: add the missing suspend/resume callbacks
authorDENG Qingfang <dqfext@gmail.com>
Mon, 23 Aug 2021 04:44:21 +0000 (12:44 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Aug 2021 23:52:43 +0000 (16:52 -0700)
commit93100d6817b05a60f3e1d354932a4fe792f14d08
treefe4cc985ba42e60230f0b2833dc6d5b25c72b29c
parent3b0720ba00a7413997ad331838d22c81f252556a
net: phy: mediatek: add the missing suspend/resume callbacks

Without suspend/resume callbacks, the PHY cannot be powered down/up
administratively.

Fixes: e40d2cca0189 ("net: phy: add MediaTek Gigabit Ethernet PHY driver")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210823044422.164184-1-dqfext@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mediatek-ge.c