diff options
author | 2025-02-25 13:39:06 +0000 | |
---|---|---|
committer | 2025-02-25 13:39:06 +0000 | |
commit | b80fd34df2580f2c7a99e7188d68515bcf779714 (patch) | |
tree | 5cb104b03241df9cce66268fffbca5702ce3c764 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | regulator: pca9450: Remove duplicate code in probe (diff) | |
parent | regulator: Add (devm_)of_regulator_get() (diff) | |
download | wireguard-linux-b80fd34df2580f2c7a99e7188d68515bcf779714.tar.xz wireguard-linux-b80fd34df2580f2c7a99e7188d68515bcf779714.zip |
Fix RK3588 power domain problems
Merge series from Sebastian Reichel <sebastian.reichel@collabora.com>:
This introduces devm_of_regulator_get without the _optional suffix, since
that is more sensible for the Rockchip usecase.
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 0c44fc7dd86c..a65cf97ad12d 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -341,6 +341,10 @@ int intel_dp_mtp_tu_compute_config(struct intel_dp *intel_dp, break; } + + /* Allow using zero step to indicate one try */ + if (!step) + break; } if (slots < 0) { |