Skip to content

Commit 09ff615

Browse files
yangbolu1991kartben
authored andcommitted
drivers: ptp_clock_nxp_enet: re-enable ENET timestamp IRQ
ENET timestamp IRQ still needed to be enabled from IP. This is a fix-up for below commit: faa55bd drivers: ptp_clock_nxp_enet: avoid configuring IRQ handlers again Signed-off-by: Yangbo Lu <[email protected]>
1 parent 2da6257 commit 09ff615

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ptp_clock/ptp_clock_nxp_enet.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void nxp_enet_ptp_clock_callback(const struct device *dev,
180180
ENET_Ptp1588SetChannelMode(data->base, kENET_PtpTimerChannel3,
181181
kENET_PtpChannelPulseHighonCompare, true);
182182
ENET_Ptp1588StartTimer(data->base, ptp_config.ptp1588ClockSrc_Hz);
183+
ENET_EnableInterrupts(data->base, ENET_TS_INTERRUPT);
183184
}
184185
}
185186

0 commit comments

Comments
 (0)