drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 15 Apr 2022 16:25:13 +0000 (18:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Apr 2022 11:53:56 +0000 (13:53 +0200)
commit405d98427416849cf37c84c0c70bd5008b686a1e
treee127a2fb0186e6593296d5d77ab6074102d1e661
parent231381f5211620cec836b921f1c7a2cf702b3e8a
drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare

[ Upstream commit 5f18c0782b99e26121efa93d20b76c19e17aa1dd ]

The panel has a prepare call which is before video starts, and an
enable call which is after.
The Toshiba bridge should be configured before video, so move
the relevant power and initialisation calls to prepare.

Fixes: 2f733d6194bd ("drm/panel: Add support for the Raspberry Pi 7" Touchscreen.")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220415162513.42190-3-stefan.wahren@i2se.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c