smc911x: fix inverted poll-for-ready
The ! operator is applied wrongly to only smc91xx_reg_read's return value,
when probably the intention was for it to apply to the whole expression.

However, wait_on_timeout keeps looping while the condition is false,
so dropping the ! is the right thing to do. Do the right thing.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 405c3fe commit cb2f9447fef731a4e640e5032b47d1131adcb8ed
@Ahmad Fatoum Ahmad Fatoum authored on 22 Aug 2019
Sascha Hauer committed on 30 Aug 2019
Showing 1 changed file
View
drivers/net/smc911x.c