Re: [PATCH] sound: cs43130: fix a NULL pointer dereference

2019-04-10 Thread Mark Brown
On Thu, Mar 14, 2019 at 10:51:20PM -0500, Kangjie Lu wrote: > In case create_singlethread_workqueue fails, the fix returns > -ENOMEM to avoid potential NULL pointer dereference. Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant

[PATCH] sound: cs43130: fix a NULL pointer dereference

2019-03-14 Thread Kangjie Lu
In case create_singlethread_workqueue fails, the fix returns -ENOMEM to avoid potential NULL pointer dereference. Signed-off-by: Kangjie Lu --- sound/soc/codecs/cs43130.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c index