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

From: Richard Cochran
Date: Thu Jul 16 2020 - 14:56:58 EST


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>