From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
David Miller <davem@redhat.com>
Cc: <netdev@vger.kernel.org>
Subject: Re: [PATCH] macb: fix PHY reset
Date: Wed, 23 Mar 2016 09:54:05 +0100 [thread overview]
Message-ID: <56F259AD.9010009@atmel.com> (raw)
In-Reply-To: <56F1BA16.9070601@cogentembedded.com>
Le 22/03/2016 22:33, Sergei Shtylyov a écrit :
> On 03/22/2016 11:07 PM, David Miller wrote:
>
>>> On 03/22/2016 10:27 PM, Sergei Shtylyov wrote:
>>>
>>>> The driver calls gpiod_set_value() with GPIOD_OUT_* instead of 0 and
>>>> 1, as
>>>> a result the PHY isn't really put back into reset state in
>>>> macb_remove().
>>>> Moreover, the driver assumes that something else has set the GPIO
>>>> direction
>>>> to output, so if it has not, the PHY wouldn't be taken out of reset in
>>>
>>> s/wouldn't/may not/, sorry. Do I need to resend?
>>
>> No need, I fixed it up by hand.
>>
>> Applied, thanks.
>
> Oops, forgot another tag:
>
> Fixes: 270c499f0993 ("net/macb: Update device tree binding for resetting PHY
> using GPIO")
>
> Too late probably... :-(
Too late also:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Thanks Sergei!
Bye,
--
Nicolas Ferre
prev parent reply other threads:[~2016-03-23 8:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 19:27 [PATCH] macb: fix PHY reset Sergei Shtylyov
2016-03-22 19:34 ` Sergei Shtylyov
2016-03-22 20:07 ` David Miller
2016-03-22 21:04 ` Sergei Shtylyov
2016-03-22 21:33 ` Sergei Shtylyov
2016-03-23 8:54 ` Nicolas Ferre [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56F259AD.9010009@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=davem@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).