video: dw_mipi_dsi: update log of dphy_enable
authorYannick Fertre <yannick.fertre@foss.st.com>
Thu, 4 Mar 2021 12:14:36 +0000 (13:14 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:55:44 +0000 (17:55 +0100)
commitc45f82bb2ee9c923a84b13f3eff8e151fbafa66b
tree65ac9c4cd70432077a4c44b7ba99a97ab8ab1151
parent612f76922756c6fab6992c637b4a5dec2a64beb0
video: dw_mipi_dsi: update log of dphy_enable

The DSI phy can be turned on from the DSI digital interface in
the dphy_enable() function or from a dedicated DSI phy "wrapper"
in phy_ops->init() function. If the STM32MP1 case, the wrapper
is used then the dphy_enable() "warning" traces are not relevant.

This patch moves these "warning" traces to "debug" traces so
they are still available for DSI phy based on the digital
interface in debug logging mode, but not there in normal mode
for both cases.
Note: The related Linux kernel driver uses a "debug"
message too.

Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/video/dw_mipi_dsi.c