commit | 0b6ce802e17eab99674125e7c5ddba6f1535aab0 | [log] [tgz] |
---|---|---|
author | Vignesh Raghavendra <vigneshr@ti.com> | Fri Feb 14 17:52:17 2020 +0530 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Wed Feb 26 18:35:29 2020 +0530 |
tree | ee8d8dd8993ad3bb2b599fd13e6c14e2132ea80f | |
parent | 9408de901dec386550cfb382b6ee8068a3b06bca [diff] |
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: Vignesh Raghavendra <vigneshr@ti.com>