Skip to content

Commit

Permalink
drivers: clock_control: nrf_clock_calibration: remove errata workaround
Browse files Browse the repository at this point in the history
Workaround for errata 192 is unnecessary as it is applied within
nrfx_clock_calibration_start().

Fixes zephyrproject-rtos#43930

Signed-off-by: Xudong Zheng <[email protected]>
(cherry picked from commit 2a4144d)
  • Loading branch information
Mariappan authored and petejohanson committed May 30, 2022
1 parent 312ceeb commit 8adeab4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/clock_control/nrf_clock_calibration.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ static void cal_lf_callback(struct onoff_manager *mgr,
/* Start actual HW calibration assuming that HFCLK XTAL is on. */
static void start_hw_cal(void)
{
/* Workaround for Errata 192 */
if (IS_ENABLED(CONFIG_SOC_SERIES_NRF52X)) {
*(volatile uint32_t *)0x40000C34 = 0x00000002;
}

nrfx_clock_calibration_start();
calib_skip_cnt = CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP;
}
Expand Down

0 comments on commit 8adeab4

Please sign in to comment.