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

From: Richard Cochran
Date: Mon Jan 08 2018 - 22:39:47 EST


On Tue, Jan 09, 2018 at 11:02:33AM +0800, Yangbo Lu 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>

Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>