drm/msm/dp: fix controller and parser sub module cleanup
Assign the device pointer during the controller module
initialization in order to prevent a potential null
pointer dereference when the module is destroyed.
Furthermore, in the parser module, ensure that the
components for each power module are cleaned up
appropriately in cases when they are assigned and valid.
CRs-Fixed: 2129828
Change-Id: I62711fde7a094834d1e672ebce40e8204544339f
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Loading
Please register or sign in to comment