Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6f5054ce authored by Panicker Harish's avatar Panicker Harish
Browse files

serial: msm_geni_serial: Check if workqueue allocation fails



Pointer wakeup_irq_wq can be NULL if workqueue
allocation fails and may be dereferenced later.

To avoid this returned error if workqueue
allocation fails.

Change-Id: Ic70c862e75c2594171c6a4f165ea87f21524cd40
Signed-off-by: default avatarVisweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: default avatarPanicker Harish <quic_pharish@quicinc.com>
parent 0a214ab5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment