alsa-ucm: Fix NULL pointer handling
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 6 Jul 2020 09:39:42 +0000 (12:39 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 6 Jul 2020 09:47:19 +0000 (12:47 +0300)
commitf12795330be2a3d6f12dd15680f3baf20f6f8f61
tree47aa78bd5052b80297dc1bd6dd2361fd33888d3a
parent0b5ab6be5a59a4ad0161bae2ca207a6598584e2c
alsa-ucm: Fix NULL pointer handling

get_mixer_device() can return NULL when no mixer device is configured
for the device, so mdev2 can be NULL.
src/modules/alsa/alsa-ucm.c