drm/msm/dsi-staging: add NULL check before pointer dereference
Check if priv info is NULL and return error before dereferencing it.
Change-Id: Ice265eb7d730a5ae24a4769975b7174d3adbfeb7
Signed-off-by:
Tharun Raj Soma <tsoma@codeaurora.org>
Loading
Please register or sign in to comment