diff mbox series

[2/2] video: meson: keep power domain up after booting

Message ID 20200217113644.21434-2-agust@denx.de
State Accepted
Commit 9aa886cc0b4424b49b24486f804fd18aafad00b2
Headers show
Series [1/2] dm: core: Add a flag for power domain control on device removal | expand

Commit Message

Anatolij Gustschin Feb. 17, 2020, 11:36 a.m. UTC
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 at denx.de>
---
 drivers/video/meson/meson_vpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Neil Armstrong Feb. 17, 2020, 4:55 p.m. UTC | #1
On 17/02/2020 12:36, Anatolij Gustschin wrote:
> 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 at denx.de>
> ---
>  drivers/video/meson/meson_vpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c
> index 4eb66398d0..aa8c0a962f 100644
> --- a/drivers/video/meson/meson_vpu.c
> +++ b/drivers/video/meson/meson_vpu.c
> @@ -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,
>  };
> 

Acked-by: Neil Armstrong <narmstrong at baylibre.com>

and

Tested-by: Guillaume La Roque <glaroque at baylibre.com>

Thanks,
Neil
Simon Glass March 3, 2020, 2:46 a.m. UTC | #2
On 17/02/2020 12:36, Anatolij Gustschin wrote:
> 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 at denx.de>
> ---
>  drivers/video/meson/meson_vpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c
index 4eb66398d0..aa8c0a962f 100644
--- a/drivers/video/meson/meson_vpu.c
+++ b/drivers/video/meson/meson_vpu.c
@@ -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,
 };