ASoC: cs43130: fix a NULL pointer dereference

In case create_singlethread_workqueue fails, the fix returns
-ENOMEM to avoid potential NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kangjie Lu 2019-03-14 22:51:20 -05:00 • committed by Mark Brown
commit a2be42f18d
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0