I was trying to learn about ALSA kernel API by making a simple kernel module. I was following the docs https://dri.freedesktop.org/docs/drm/sound/kernel-api/writing-an-alsa-dri