Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8a57e950
Commit
8a57e950
authored
Apr 25, 2014
by
Rob Clark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/msm/mdp5: fix crash in error/unload paths
Signed-off-by:
Rob Clark
<
robdclark@gmail.com
>
parent
182407a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
+4
-1
No files found.
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
View file @
8a57e950
...
...
@@ -85,8 +85,11 @@ static int mdp5_plane_disable(struct drm_plane *plane)
static
void
mdp5_plane_destroy
(
struct
drm_plane
*
plane
)
{
struct
mdp5_plane
*
mdp5_plane
=
to_mdp5_plane
(
plane
);
struct
msm_drm_private
*
priv
=
plane
->
dev
->
dev_private
;
if
(
priv
->
kms
)
mdp5_plane_disable
(
plane
);
drm_plane_cleanup
(
plane
);
kfree
(
mdp5_plane
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment