msm: serial: Add check to avoid dereferencing NULL pointer
Add check to avoid dereferencing NULL Pointer in serial drivers where
retrieving of resource may fail.
CRs-Fixed: 313390
Change-Id: I4a64039ea33c39a5e1853b2d52a26140ae080d5b
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please sign in to comment