phy: nop-phy: Fix enabling reset
authorAdam Ford <aford173@gmail.com>
Sat, 19 Feb 2022 23:08:43 +0000 (17:08 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 23 Feb 2022 04:25:17 +0000 (05:25 +0100)
commitf9852acdce029edb8e1a06d1d5336b6d0a12471e
tree3963f92e3020498b17fc38f6aa0bb2a01b9a3e29
parentac0c125b7e1ae028fff0d1528351a7272de9ec2b
phy: nop-phy: Fix enabling reset

The reset function should place the phy into reset, while the
init function should take the phy out of reset.  Currently the
reset function takes it out of reset, and the init calls the
reset.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/phy/nop-phy.c