]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: lynx-28g: cancel the CDR check work item on the remove path
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 4 Oct 2023 11:17:06 +0000 (14:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2023 09:59:52 +0000 (10:59 +0100)
commitf200bab3756fe81493a1b280180dafa1d9ccdcf7
treecef3bd95e0eac7efe1f97eb41e530a5b4d941608
parentf291209eca5eba0b4704fa0832af57b12dbc1a02
phy: lynx-28g: cancel the CDR check work item on the remove path

The blamed commit added the CDR check work item but didn't cancel it on
the remove path. Fix this by adding a remove function which takes care
of it.

Fixes: 8f73b37cf3fb ("phy: add support for the Layerscape SerDes 28G")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/phy/freescale/phy-fsl-lynx-28g.c