Merge "disp: msm: dsi: check for null pointer during debugfs deinit"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

커밋
1961183b41
@@ -2097,7 +2097,10 @@ error:
|
||||
|
||||
static int dsi_display_debugfs_deinit(struct dsi_display *display)
|
||||
{
|
||||
debugfs_remove_recursive(display->root);
|
||||
if (display->root) {
|
||||
debugfs_remove_recursive(display->root);
|
||||
display->root = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user