summaryrefslogtreecommitdiff
path: root/drivers/spi/pl022_spi.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-04-18 17:32:51 +0200
committerPatrice Chotard <patrice.chotard@st.com>2019-05-23 11:36:48 +0200
commit66dba9a18b04d5eafd1b3bfe11b7584135aadb70 (patch)
treeaf11e6870fcb126382468a771644f83cab300841 /drivers/spi/pl022_spi.c
parent26603c0ea4793943329a949dd930481714dd269a (diff)
serial: stm32: remove watchog reset in debug putc
For STM32MP, the watchdog is based on DM and the function watchod_reset call the function uclass_get_device(UCLASS_WDT) to found the driver associated IWDG2. As this reset is not mandatory in debug putc (the uart fifo will be empty after some us), we can simplify the code by removing this call. And this patch avoid issue when putc is called before initialization of DM core, before the parsing of the device tree parsing and each node bound to driver; that also avoid memory leak. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/spi/pl022_spi.c')
0 files changed, 0 insertions, 0 deletions