diff options
| author | Dave Airlie <[email protected]> | 2023-11-06 01:24:29 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2023-11-06 01:24:30 +0000 |
| commit | f056cb9681f631c99c7c6780c82651c86f15cf5c (patch) | |
| tree | 0aa5cce564fdd40034ffb919a36af47614d79068 | |
| parent | Merge tag 'shmob-drm-atomic-dt-tag2' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| parent | drm/ssd130x: Fix possible uninitialized usage of crtc_state variable (diff) | |
| download | kernel-f056cb9681f631c99c7c6780c82651c86f15cf5c.tar.gz kernel-f056cb9681f631c99c7c6780c82651c86f15cf5c.zip | |
Merge tag 'drm-misc-next-fixes-2023-11-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next-fixes for v6.7-rc1:
- dt binding fix for ssd132x
- Initialize ssd130x crtc_state to NULL.
Signed-off-by: Dave Airlie <[email protected]>
From: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
| -rw-r--r-- | Documentation/devicetree/bindings/display/solomon,ssd132x.yaml | 8 | ||||
| -rw-r--r-- | drivers/gpu/drm/solomon/ssd130x.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml index 0aa41bd9ddca..37975ee61c5a 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml @@ -11,10 +11,10 @@ maintainers: properties: compatible: - - enum: - - solomon,ssd1322 - - solomon,ssd1325 - - solomon,ssd1327 + enum: + - solomon,ssd1322 + - solomon,ssd1325 + - solomon,ssd1327 required: - compatible diff --git a/drivers/gpu/drm/solomon/ssd130x.c b/drivers/gpu/drm/solomon/ssd130x.c index 32f0857aec9f..e0174f82e353 100644 --- a/drivers/gpu/drm/solomon/ssd130x.c +++ b/drivers/gpu/drm/solomon/ssd130x.c @@ -910,7 +910,7 @@ static int ssd132x_primary_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); struct ssd130x_plane_state *ssd130x_state = to_ssd130x_plane_state(plane_state); struct drm_crtc *crtc = plane_state->crtc; - struct drm_crtc_state *crtc_state; + struct drm_crtc_state *crtc_state = NULL; const struct drm_format_info *fi; unsigned int pitch; int ret; |
