zephyr/drivers/clock_control
Peter Bigot 647062adcd drivers: clock_control: nrf_power_clock: use unsigned reference count
The implementation did not account for the incrementing the reference
count past the maximum positive value.  Doing so on a signed integer
results in undefined behavior.  Switch to an unsigned integer where
such an increment results in a zero count, and add an assert that this
has not happened.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-12-09 12:54:06 -05:00
..
beetle_clock_control.c drivers: beetle_clock_control: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
clock_control_mcux_ccm.c clock/usdhc: Enable clock of USDHC of i.MXRT 2019-07-10 11:58:15 -05:00
clock_control_mcux_mcg.c drivers: clock_control: mcux_mcg: add driver for NXP Kinetis MCG 2019-08-09 07:32:43 -05:00
clock_control_mcux_pcc.c cleanup: include/: move clock_control.h to drivers/clock_control.h 2019-06-27 22:55:49 -04:00
clock_control_mcux_scg.c cleanup: include/: move clock_control.h to drivers/clock_control.h 2019-06-27 22:55:49 -04:00
clock_control_mcux_sim.c cleanup: include/: move clock_control.h to drivers/clock_control.h 2019-06-27 22:55:49 -04:00
clock_control_rv32m1_pcc.c cleanup: include/: move clock_control.h to drivers/clock_control.h 2019-06-27 22:55:49 -04:00
clock_stm32_ll_common.c drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
clock_stm32_ll_common.h drivers: clock_control: stm32: Modify file naming pattern 2019-04-26 02:56:20 -07:00
clock_stm32_ll_h7.c stm32: clock_control: Enforce HCLK prescaler value 2019-08-03 14:18:55 -04:00
clock_stm32_ll_mp1.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
clock_stm32f0_f3.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
clock_stm32f1.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
clock_stm32f2_f4_f7.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
clock_stm32g0.c drivers: clock_control: Add STM32G0XX clock support 2019-07-05 10:35:55 -05:00
clock_stm32g4.c drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
clock_stm32l0_l1.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
clock_stm32l4_wb.c drivers: clock: stm32wb: enable PWR only if exists 2019-10-17 14:02:40 -05:00
CMakeLists.txt drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_ccm kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_mcg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_pcc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_scg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_sim kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrf kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f0_f3 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f2_f4_f7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g4 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32h7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l0_l1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l4_wb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
nrf_clock_calibration.c drivers: nrf_clock_calibration: wait for sensor initialization 2019-11-28 14:21:49 -05:00
nrf_clock_calibration.h drivers: clock_control: nrf: reimplementation including API updates 2019-10-04 17:15:39 +02:00
nrf_power_clock.c drivers: clock_control: nrf_power_clock: use unsigned reference count 2019-12-09 12:54:06 -05:00