ics43432.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | ics43432.c (a180ba45b1cf630b3bd5912ce235b2ee16606b8e) |
---|---|
1/* 2 * I2S MEMS microphone driver for InvenSense ICS-43432 3 * 4 * - Non configurable. 5 * - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data 6 * 7 * Copyright (c) 2015 Axis Communications AB 8 * --- 23 unchanged lines hidden (view full) --- 32 .channels_max = 2, 33 .rate_min = ICS43432_RATE_MIN, 34 .rate_max = ICS43432_RATE_MAX, 35 .rates = SNDRV_PCM_RATE_CONTINUOUS, 36 .formats = ICS43432_FORMATS, 37 }, 38}; 39 | 1/* 2 * I2S MEMS microphone driver for InvenSense ICS-43432 3 * 4 * - Non configurable. 5 * - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data 6 * 7 * Copyright (c) 2015 Axis Communications AB 8 * --- 23 unchanged lines hidden (view full) --- 32 .channels_max = 2, 33 .rate_min = ICS43432_RATE_MIN, 34 .rate_max = ICS43432_RATE_MAX, 35 .rates = SNDRV_PCM_RATE_CONTINUOUS, 36 .formats = ICS43432_FORMATS, 37 }, 38}; 39 |
40static struct snd_soc_codec_driver ics43432_codec_driver = { | 40static const struct snd_soc_codec_driver ics43432_codec_driver = { |
41}; 42 43static int ics43432_probe(struct platform_device *pdev) 44{ 45 return snd_soc_register_codec(&pdev->dev, &ics43432_codec_driver, 46 &ics43432_dai, 1); 47} 48 --- 28 unchanged lines hidden --- | 41}; 42 43static int ics43432_probe(struct platform_device *pdev) 44{ 45 return snd_soc_register_codec(&pdev->dev, &ics43432_codec_driver, 46 &ics43432_dai, 1); 47} 48 --- 28 unchanged lines hidden --- |