[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150414163002.GB4309@localhost.localdomain>
Date: Tue, 14 Apr 2015 18:30:03 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, devicetree@...r.kernel.org,
galak@...eaurora.org, netdev@...r.kernel.org,
linux-sh@...r.kernel.org,
Mitsuhiro Kimura <mitsuhiro.kimura.kc@...esas.com>,
masaru.nagai.vx@...esas.com
Subject: Re: [PATCH resend] Renesas Ethernet AVB driver
On Tue, Apr 14, 2015 at 01:14:40PM +0300, Sergei Shtylyov wrote:
> >It is surely avoidable. The driver knows (or should know) whether or
> >not the hardware has been configured or not.
>
> So you only want to avoid the register read here?
No, that is not what I mean. The two callers are gettime and adjtime.
Can't you make sure the hardware is ready before you register the
clock in the first place? If not, what is purpose of returning EBUSY?
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists