Skip to content
Commit 72f0095e authored by Rajan Vaja's avatar Rajan Vaja Committed by Mark Brown
Browse files

ASoC: mop500_ab8500: Add a NULL pointer check in mop500_ab8500_machine_init()



Avoid possible crash (NULL pointer dereference) by making
sure that dem_kzalloc() is successful.

Signed-off-by: default avatarRajan Vaja <rajan.vaja@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b787f68c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment