OSDN Git Service

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)
commit22f99f2db44771cf9569fc2e8c547ad3153d9384
tree155189c585592e882bee95275d9e5611dae125be
parentfa747d75f65d1b1cbc3f4691fa67b695e8a399c8
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