The NULL pointer access is happening when accessing the list in snd_device_new(). Adding a mutex when modifing the list is fixing this problem.
The NULL pointer access is happening when accessing the list in
snd_device_new(). Adding a mutex when modifing the list is fixing this
problem.