]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: dsi: move lane capability detection in probe()
authorAntonio Borneo <antonio.borneo@foss.st.com>
Sat, 18 Dec 2021 21:50:52 +0000 (22:50 +0100)
committerRobert Foss <robert.foss@linaro.org>
Tue, 4 Jan 2022 11:53:56 +0000 (12:53 +0100)
commit241e646e71022837bfcbb17d1cc4dc59b4ac6782
tree155189c585592e882bee95275d9e5611dae125be
parentab33ddfa53b4707ff1e87d31b5b8d099c3a876db
drm/stm: dsi: move lane capability detection in probe()

There is no need to re-compute the dsi lane capability because it
only depends on dsi hw version.
Since dsi hw version is detected at probe(), move there also the
assignment of dsi lane capability.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Acked-by: Philippe Cornu <philippe.cornu@foss.st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211218215055.212421-1-antonio.borneo@foss.st.com
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c