Hello!
s/failure/fail/ in the subject.
On 04/17/2018 11:50 AM, Simon Horman wrote:
> From: Kazuya Mizuguchi
>
> This patch fixes the problem that ptp4l command does not work after
> suspend and resume.
> Add the initial setting in ravb_suspend() and ravb_resume(),
> because ptp does not wor
On 04/17/2018 01:05 PM, Wolfram Sang wrote:
>> @@ -2302,6 +2305,7 @@ static int __maybe_unused ravb_resume(struct device
>> *dev)
>> {
>> struct net_device *ndev = dev_get_drvdata(dev);
>> struct ravb_private *priv = netdev_priv(ndev);
>> +struct platform_device *pdev = priv->pdev;
> @@ -2302,6 +2305,7 @@ static int __maybe_unused ravb_resume(struct device
> *dev)
> {
> struct net_device *ndev = dev_get_drvdata(dev);
> struct ravb_private *priv = netdev_priv(ndev);
> + struct platform_device *pdev = priv->pdev;
Minor nit: I'd save this line...
> + if
From: Kazuya Mizuguchi
This patch fixes the problem that ptp4l command does not work after
suspend and resume.
Add the initial setting in ravb_suspend() and ravb_resume(),
because ptp does not work.
Fixes: a0d2f20650e8 ("Renesas Ethernet AVB PTP clock driver")
Signed-off-by: Kazuya Mizuguchi
Si