19 #include <linux/kernel.h>
20 #include <linux/device.h>
22 #include <linux/slab.h>
23 #include <linux/module.h>
31 #define PCM3008_VERSION "0.2"
33 #define PCM3008_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \
37 .name =
"pcm3008-hifi",
39 .stream_name =
"PCM3008 Playback",
46 .stream_name =
"PCM3008 Capture",
107 pcm3008_gpio_free(setup);
116 pcm3008_gpio_free(setup);
141 #define pcm3008_soc_suspend NULL
142 #define pcm3008_soc_resume NULL
146 .probe = pcm3008_soc_probe,
147 .remove = pcm3008_soc_remove,
155 &soc_codec_dev_pcm3008, &pcm3008_dai, 1);
167 .probe = pcm3008_codec_probe,
170 .name =
"pcm3008-codec",