Commit 49037123 authored by Manish Dewangan's avatar Manish Dewangan
Browse files

qdsp5: adsp: Add NULL check in adsp driver functions



ADSP driver functions are directly accessing module without checking
for NULL. This can result in crash if module supplied points to NULL.

Added NULL check to solve this.

Change-Id: I47eef0ea03086935ebfe33a2585ba214780e73f7
Signed-off-by: default avatarManish Dewangan <manish@codeaurora.org>
parent 691f1c4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment