video: meson: keep power domain up after booting
authorAnatolij Gustschin <agust@denx.de>
Mon, 17 Feb 2020 11:36:44 +0000 (12:36 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 3 Mar 2020 02:47:38 +0000 (19:47 -0700)
Add driver flag to skip power domain disabling on device removal.

Fixes: 52edfed65de9 ("dm: core: device: switch off power domain after device removal")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Guillaume La Roque <glaroque@baylibre.com>
drivers/video/meson/meson_vpu.c

index 4eb66398d094d6597a3121c9f367582c2694a278..aa8c0a962fa5017f9c60766ed02b079e7a76f36e 100644 (file)
@@ -210,5 +210,5 @@ U_BOOT_DRIVER(meson_vpu) = {
        .probe = meson_vpu_probe,
        .bind = meson_vpu_bind,
        .priv_auto_alloc_size = sizeof(struct meson_vpu_priv),
-       .flags  = DM_FLAG_PRE_RELOC,
+       .flags  = DM_FLAG_PRE_RELOC | DM_FLAG_REMOVE_WITH_PD_ON,
 };