On Monday 23 March 2015, Richard Cochran wrote:
>
> On Sun, Mar 22, 2015 at 06:48:02PM +0100, Arnd Bergmann wrote:
> > Ok, got it. The code looks correct then, though I'd like to see the use
> > of 'timespec' pushed out as far as possible. How about changing the
> > type for tdr_write() as well
On Sun, Mar 22, 2015 at 06:48:02PM +0100, Arnd Bergmann wrote:
> Ok, got it. The code looks correct then, though I'd like to see the use
> of 'timespec' pushed out as far as possible. How about changing the
> type for tdr_write() as well here?
>
> tdr_write() itself should be fine until 2106, as
On Monday 23 March 2015, Richard Cochran wrote:
On Sun, Mar 22, 2015 at 06:48:02PM +0100, Arnd Bergmann wrote:
Ok, got it. The code looks correct then, though I'd like to see the use
of 'timespec' pushed out as far as possible. How about changing the
type for tdr_write() as well here?
On Sun, Mar 22, 2015 at 06:48:02PM +0100, Arnd Bergmann wrote:
Ok, got it. The code looks correct then, though I'd like to see the use
of 'timespec' pushed out as far as possible. How about changing the
type for tdr_write() as well here?
tdr_write() itself should be fine until 2106, as it
On Sunday 22 March 2015, Richard Cochran wrote:
> On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote:
> > On Saturday 21 March 2015, Richard Cochran wrote:
> > > mutex_lock(>extreg_lock);
> > >
> > > - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
> > > + err =
On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote:
> On Saturday 21 March 2015, Richard Cochran wrote:
> > mutex_lock(>extreg_lock);
> >
> > - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
> > + err = tdr_write(1, phydev, , PTP_LOAD_CLK);
> >
> >
On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote:
On Saturday 21 March 2015, Richard Cochran wrote:
mutex_lock(clock-extreg_lock);
- err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
+ err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
On Sunday 22 March 2015, Richard Cochran wrote:
On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote:
On Saturday 21 March 2015, Richard Cochran wrote:
mutex_lock(clock-extreg_lock);
- err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
+ err = tdr_write(1,
On Saturday 21 March 2015, Richard Cochran wrote:
> mutex_lock(>extreg_lock);
>
> - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
> + err = tdr_write(1, phydev, , PTP_LOAD_CLK);
>
> mutex_unlock(>extreg_lock);
I don't see the change to the tdr_write() function that
This device stores the number of seconds in a 32 bit register. So
more work is needed on this driver before the year 2038 comes around.
Compile tested only.
Signed-off-by: Richard Cochran
---
drivers/net/phy/dp83640.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff
This device stores the number of seconds in a 32 bit register. So
more work is needed on this driver before the year 2038 comes around.
Compile tested only.
Signed-off-by: Richard Cochran richardcoch...@gmail.com
---
drivers/net/phy/dp83640.c | 12 +++-
1 file changed, 7
On Saturday 21 March 2015, Richard Cochran wrote:
mutex_lock(clock-extreg_lock);
- err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
+ err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
mutex_unlock(clock-extreg_lock);
I don't see the change to the tdr_write()
12 matches
Mail list logo