18 Jul
2017
18 Jul
'17
10:11 a.m.
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