[alsa-devel] [PATCH 1/2] ASoC: Intel: board: Add Geminilake platform support
Vinod Koul
vinod.koul at intel.com
Tue Jul 18 10:11:06 CEST 2017
On Mon, Jul 17, 2017 at 08:45:28PM +0530, Pradeep Tewani wrote:
> +static struct snd_soc_card geminilake_rt298 = {
> + .name = "geminilake-rt298",
> + .owner = THIS_MODULE,
Do we need this, i though core set it up?
> static int broxton_audio_probe(struct platform_device *pdev)
> {
> struct bxt_rt286_private *ctx;
> + struct snd_soc_card *card =
> + (struct snd_soc_card *)pdev->id_entry->driver_data;
> + int i;
> +
> + for (i = 0; i < ARRAY_SIZE(broxton_rt298_dais); i++) {
> + if (!strcmp(card->dai_link[i].codec_name, "i2c-INT343A:00")) {
> + if (!strcmp(card->name, "broxton-rt298")) {
can we use strncmp pls
--
~Vinod
More information about the Alsa-devel
mailing list