Re: [v2] net: gianfar_ptp: move set_fipers() to spinlock protecting area

From: Fabio Estevam
Date: Tue Jan 09 2018 - 04:15:26 EST


On Tue, Jan 9, 2018 at 1:02 AM, Yangbo Lu <yangbo.lu@xxxxxxx> wrote:
> set_fipers() calling should be protected by spinlock in
> case that any interrupt breaks related registers setting
> and the function we expect. This patch is to move set_fipers()
> to spinlock protecting area in ptp_gianfar_adjtime().
>
> Signed-off-by: Yangbo Lu <yangbo.lu@xxxxxxx>
> ---
> Changes for v2:
> - explained why spinlock was needed in commit message.

Thanks for improving the commit log:

Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxx>