commit | 68888ce075a5e77f0df659b128a7cb7c597a73cb | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jun 23 14:50:15 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 27 10:40:57 2016 -0400 |
tree | ecf50f5ecda7b35b709b01267d86e79812a2f0f8 | |
parent | 0629bf17eaab9330bef427bdf4a3985c2d8972af [diff] |
phy: separate swphy state validation from register generation Separate out the generation of MII registers from the state validation. This allows us to simplify the error handing in fixed_phy() by allowing earlier error detection. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>