OSDN Git Service

phy: brcm-sata: fix a timeout test in init
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Jun 2017 10:56:05 +0000 (13:56 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Aug 2017 04:41:27 +0000 (10:11 +0530)
commitd9c51f4c53ae2af03aa8bd001d46f21b0adcdab8
treee303f8717176d806d6a9c81c846deb11553b49b1
parentaea430ee0c4228b00e4ad303ff63dec93285b3e8
phy: brcm-sata: fix a timeout test in init

We want to timeout with try set to zero so this should be a pre-op
instead of post-op.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-brcm-sata.c