Re: [PATCH net] net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration

From: Jakub Kicinski
Date: Thu Jul 16 2020 - 16:32:08 EST


On Thu, 16 Jul 2020 11:56:50 -0700 Richard Cochran wrote:
> On Wed, Jul 15, 2020 at 07:10:00PM +0300, Sergey Organov wrote:
> > From Documentation/networking/timestamping.txt:
> >
> > A driver which supports hardware time stamping shall update the
> > struct with the actual, possibly more permissive configuration.
> >
> > Do update the struct passed when we upscale the requested time
> > stamping mode.
> >
> > Fixes: cb646e2b02b2 ("ptp: Added a clock driver for the National Semiconductor PHYTER.")
> > Signed-off-by: Sergey Organov <sorganov@xxxxxxxxx>
>
> Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>

Applied, thank you!