[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150915.150548.1197620792036413505.davem@davemloft.net>
Date: Tue, 15 Sep 2015 15:05:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sjoerd.simons@...labora.co.uk
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: stmmac: Use msleep rather then udelay for
reset delay
From: Sjoerd Simons <sjoerd.simons@...labora.co.uk>
Date: Fri, 11 Sep 2015 22:25:48 +0200
> The reset delays used for stmmac are in the order of 10ms to 1 second,
> which is far too long for udelay usage, so switch to using msleep.
>
> Practically this fixes the PHY not being reliably detected in some cases
> as udelay wouldn't actually delay for long enough to let the phy
> reliably be reset.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@...labora.co.uk>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists