when executing ioctl AUDIOIOC_GETBUFFERINFO,the priv->pcm is still NULL, so it will return -ENXIO,we can remove this check at the start of ioctl and add in the case where it is used. Signed-off-by: shipei <shipei@xiaomi.com>
when executing ioctl AUDIOIOC_GETBUFFERINFO,the priv->pcm is still NULL, so it will return -ENXIO,we can remove this check at the start of ioctl and add in the case where it is used. Signed-off-by: shipei <shipei@xiaomi.com>