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 |
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
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 --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, };
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(-)