Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fix typo in command value in drivers/net/phy/mdio-bitbang.

mdio-bitbang mentioned 10 for both read and write.
However mdio read opcode is 10 and write opcode is 01
Fixed comment.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Frans Meulenbroeks and committed by
David S. Miller
781492ab afb13363

+1 -1
+1 -1
drivers/net/phy/mdio-bitbang.c
··· 113 113 for (i = 0; i < 32; i++) 114 114 mdiobb_send_bit(ctrl, 1); 115 115 116 - /* send the start bit (01) and the read opcode (10) or write (10). 116 + /* send the start bit (01) and the read opcode (10) or write (01). 117 117 Clause 45 operation uses 00 for the start and 11, 10 for 118 118 read/write */ 119 119 mdiobb_send_bit(ctrl, 0);