commit | 7bb40101f8b698c6a062db505b2aba38095d7952 | [log] [tgz] |
---|---|---|
author | Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> | Mon Aug 17 17:31:08 2020 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 16 16:54:00 2020 -0400 |
tree | 9922a33b95bc5880d404015d8b302755740ddcd7 | |
parent | 0ccea051ee6634fd29440694875d66dae84eccd3 [diff] |
include: phy: fix NULL pointer check in phy_write() phy_write() uses bus->write() instead of bus->read(). This means NULL pointer pre-check needs to happen on bus->write instead of bus->read. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com>