I was trying to make a kernel module with alsa kernel subsystem for a usb microphone.
I was following the code from this driver https://github.com/torvalds/linux/blob/mas