soc: stl32l0: Enable DMA clock instead of DBGMCU clock

During review of #38681, switching from HAL to LL,
involuntarily enable DBGMCU clock instead of DMA clock.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-09-21 14:18:49 +02:00 committed by Anas Nashif
commit dc986291bd

View file

@ -60,7 +60,7 @@ static int stm32l0_init(const struct device *arg)
* (similarly than it fixes
* https://github.com/zephyrproject-rtos/zephyr/issues/#34324 )
*/
LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_DBGMCU);
LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_DMA1);
return 0;
}