staging: et131x: stop read when hit max delay in et131x_phy_mii_read
authorZhao, Gang <gamerh2o@gmail.com>
Wed, 5 Feb 2014 16:10:34 +0000 (00:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:38:41 +0000 (10:38 -0800)
commita863a15bf24ae025ec8c3d6b23600fd6cdd94edf
treed52e3660541a9c9dfde88952320b57fd3686879b
parentba92b22515e1230661cab7ba2a025910c0636c15
staging: et131x: stop read when hit max delay in et131x_phy_mii_read

stop read and return error when hit max delay time.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c