Skip to content

Commit f64c133

Browse files
committed
Revert "PM: domains: Add flags to specify power on attach/detach"
JIRA: https://issues.redhat.com/browse/RHEL-113577 Upstream Status: RHEL only This reverts commit d42c7c6. This commit was backported automatically as part of the DRM backport. The PD_FLAG_ATTACH_POWER_ON flag is not available in this tree. Backporting this change would affect multiple subsystem. Instead, revert the changes affecting the DRM subsystem and stick to the previous dev_pm_domain_attach() definition. NOTE: This commit does not compile due to missing RHEL-specific fix-ups, which are split out into separate Git commits following this one. If git bisect selected this commit, run "git bisect skip" and try again. Repeat this until it selects a commit which compiles. Signed-off-by: José Expósito <jexposit@redhat.com>
1 parent 12314d2 commit f64c133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/display/drm_dp_aux_bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int dp_aux_ep_probe(struct device *dev)
5858
container_of(aux_ep, struct dp_aux_ep_device_with_data, aux_ep);
5959
int ret;
6060

61-
ret = dev_pm_domain_attach(dev, PD_FLAG_ATTACH_POWER_ON);
61+
ret = dev_pm_domain_attach(dev, true);
6262
if (ret)
6363
return dev_err_probe(dev, ret, "Failed to attach to PM Domain\n");
6464

0 commit comments

Comments
 (0)