aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-10-22 23:18:45 +0100
committerMark Brown <broonie@kernel.org>2024-10-22 23:18:45 +0100
commit5ddc236d094d496bcd1e78aaa88bdde530073b6f (patch)
tree2435f76086b7bbf9739c05411baa2f1520cd9618 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent0d214f27c0e3d9694284c95bac1502c2d247355b (diff)
parent602ff58ae4fe4289b0ca71cba9fb82f7de92cd64 (diff)
downloadlinux-5ddc236d094d496bcd1e78aaa88bdde530073b6f.tar.gz
linux-5ddc236d094d496bcd1e78aaa88bdde530073b6f.tar.bz2
linux-5ddc236d094d496bcd1e78aaa88bdde530073b6f.zip
regulator: init_data handling update
Merge series from Jerome Brunet <jbrunet@baylibre.com>: This patchset groups the regulator patches around the init_data topic discussed on pmbus write protect patchset [1] [1]: https://lore.kernel.org/r/20240920-pmbus-wp-v1-0-d679ef31c483@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index 1e475eb01417..d891ab779ca7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -265,7 +265,7 @@ static int amdgpu_cs_pass1(struct amdgpu_cs_parser *p,
/* Only a single BO list is allowed to simplify handling. */
if (p->bo_list)
- ret = -EINVAL;
+ goto free_partial_kdata;
ret = amdgpu_cs_p1_bo_handles(p, p->chunks[i].kdata);
if (ret)