diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-30 14:09:23 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-10-18 10:46:08 +0200 |
commit | 0a3561119faac22be5befdbe3fe261c0dfbe8011 (patch) | |
tree | 40c0e28ab7d4c4c88b449e5ea1303fdc09472ed0 /drivers/video | |
parent | a0513b40cc27efc3ded5b11e301c9c0d925c3217 (diff) | |
download | u-boot-0a3561119faac22be5befdbe3fe261c0dfbe8011.tar.gz |
video: meson: remove power domain get
Remove getting and enabling the node power domain since it's now handled
by the dm core directly.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/meson/meson_vpu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c index 279401d597..34d35749eb 100644 --- a/drivers/video/meson/meson_vpu.c +++ b/drivers/video/meson/meson_vpu.c @@ -7,7 +7,6 @@ */ #include "meson_vpu.h" -#include <power-domain.h> #include <efi_loader.h> #include <dm/device-internal.h> #include <dm/uclass-internal.h> @@ -93,7 +92,6 @@ static const struct udevice_id meson_vpu_ids[] = { static int meson_vpu_probe(struct udevice *dev) { struct meson_vpu_priv *priv = dev_get_priv(dev); - struct power_domain pd; struct udevice *disp; int ret; @@ -115,14 +113,6 @@ static int meson_vpu_probe(struct udevice *dev) if (!priv->dmc_base) return -EINVAL; - ret = power_domain_get(dev, &pd); - if (ret) - return ret; - - ret = power_domain_on(&pd); - if (ret) - return ret; - meson_vpu_init(dev); /* probe the display */ |