Files
u-boot/drivers/net
Chris Brandt 33bab10457 net: miiphybb: fix casting error
Since the return value is a signed int, if the leading MSB of rdreg is a 1,
it will get signed extended and will return a negative value which is an
error even though we read the correct value.

Fixes: dfcc496ed7 ("net: mii: Changes not made by spatch")
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2018-01-15 12:05:17 -06:00
..
2018-01-15 12:05:17 -06:00
2016-10-23 18:33:18 -04:00
2017-06-28 11:43:39 -04:00
2017-06-28 11:43:39 -04:00
2016-12-04 13:55:01 -05:00
2016-02-05 12:47:23 +08:00
2017-06-01 07:03:01 -06:00
2016-12-16 17:15:27 +01:00
2017-09-07 13:23:52 -05:00
2017-09-07 13:23:52 -05:00
2016-08-15 15:29:03 -05:00
2017-09-07 13:23:52 -05:00
2017-06-02 14:44:20 -05:00
2017-06-01 07:03:10 -06:00
2017-12-09 13:36:26 +01:00
2017-06-01 07:03:01 -06:00
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2017-04-05 13:52:01 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2017-07-03 17:35:28 -04:00