MCXN947: drivers: fsl_clock.c: Fix WWDT Sel Bug

The case statement for selecting the WDT1
clock sel is missing a possible case
that selects 1MHZ.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2024-03-27 03:40:13 +00:00 committed by Declan Snyder
parent f6c7108caf
commit 7d57fbd057
2 changed files with 4 additions and 0 deletions

View File

@ -78,3 +78,4 @@ Patch List:
11. devices: LPC5536: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
12. devices: LPC55S36: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
13. devices: MIMX8UD7: add definition for LPUART_RX_TX_IRQS
14. devices: MCXN947: clock: Updated the clock frequency, case 3 on GetWdtClkFreq returns 1MHZ

View File

@ -1734,6 +1734,9 @@ uint32_t CLOCK_GetWdtClkFreq(uint32_t id)
case 2U:
freq = CLOCK_GetClk1MFreq();
break;
case 3U:
freq = CLOCK_GetClk1MFreq();
break;
default:
freq = 0U;
break;