]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: mtk: initial priv data before using
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 19 Jul 2023 09:16:07 +0000 (17:16 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:49 +0000 (09:40 -0400)
commit0fd96bf224c1af7f8fc3bbdc814eba0349d0c334
tree0ff82f6ff589da606ebfa5a1c1b3cb82e79b74a1
parentb43512d0468a7e409fc2a8d5130d5a2efdee1b3f
serial: mtk: initial priv data before using

This patch ensures driver private data being fully initialized in
_debug_uart_init which is not covered by .priv_auto ops.

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/serial/serial_mtk.c