Merge "disp: msm: dsi: check for null pointer during debugfs deinit"

This commit is contained in:
qctecmdr
2021-05-19 09:23:00 -07:00
committed by Gerrit - the friendly Code Review server
2개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -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;
}