Messages in this thread | | | From | Fabio Estevam <> | Date | Tue, 9 Jan 2018 07:15:18 -0200 | Subject | Re: [v2] net: gianfar_ptp: move set_fipers() to spinlock protecting area |
| |
On Tue, Jan 9, 2018 at 1:02 AM, Yangbo Lu <yangbo.lu@nxp.com> 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@nxp.com> > --- > Changes for v2: > - explained why spinlock was needed in commit message.
Thanks for improving the commit log:
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
| |