commit | 187dced663c8875add408314980eaf335e77f9f6 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Mon Oct 15 13:16:47 2018 +0300 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed Oct 24 14:45:38 2018 -0500 |
tree | d67fd638488c10a72fbfb4fdff5a2f5a57fbabfb | |
parent | 46fa2bdb402e6b8b5e286d64b8104e53c95f84ea [diff] |
net: mvpp2: fix polarity of PHY reset signal The dm_gpio_set_value() call sets the logical level of the GPIO signal. That is, it takes the GPIO_ACTIVE_{LOW,HIGH} property into account. The driver needs to assert the reset, and then deassert it. Not the other way around. Cc: Stefan Chulski <stefanc@marvell.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Stefan Roese <sr@denx.de>