Skip to content
Snippets Groups Projects
Commit 7def4e62 authored by Thirupathaiah Annapureddy's avatar Thirupathaiah Annapureddy Committed by Tom Rini
Browse files

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: default avatarThirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Reviewed-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent a8a71c94
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment