Skip to content

Commit 9087e82

Browse files
Hi-Im-Davidkartben
authored andcommitted
drivers: can: update clock control to use nrf2_auxpll
Auxpll driver has been refactored to use nrf2 API instead. Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
1 parent 49b0f1a commit 9087e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/can/can_nrf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static int can_nrf_init(const struct device *dev)
171171
return ret;
172172
}
173173

174-
ret = clock_control_on(config->auxpll, NULL);
174+
ret = nrf_clock_control_request_sync(config->auxpll, NULL, K_FOREVER);
175175
if (ret < 0) {
176176
return ret;
177177
}

0 commit comments

Comments
 (0)