Skip to content
Commit 7a8d03f8 authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Lokesh Vutla
Browse files

misc: k3_avs: Fix possible NULL pointer deference



Its possible that k3_avs_priv is NULL because the driver may not have
been probed yet. Therefore check if pointer is valid before
dereferencing it.

Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 548ce227
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