Ignore:
Timestamp:
Aug 21, 2021, 3:35:34 AM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/isa/cs423x/cs4231.c

    r679 r695  
    2424MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
    2525MODULE_LICENSE("GPL");
    26 MODULE_SUPPORTED_DEVICE("{{Crystal Semiconductors,CS4231}}");
    2726
    2827static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;      /* Index 0-MAX */
     
    9695                goto out;
    9796
    98         strlcpy(card->driver, "CS4231", sizeof(card->driver));
    99         strlcpy(card->shortname, chip->pcm->name, sizeof(card->shortname));
     97        strscpy(card->driver, "CS4231", sizeof(card->driver));
     98        strscpy(card->shortname, chip->pcm->name, sizeof(card->shortname));
    10099
    101100        if (dma2[n] < 0)
     
    136135}
    137136
    138 static int snd_cs4231_remove(struct device *dev, unsigned int n)
     137static void snd_cs4231_remove(struct device *dev, unsigned int n)
    139138{
    140139        snd_card_free(dev_get_drvdata(dev));
    141         return 0;
    142140}
    143141
Note: See TracChangeset for help on using the changeset viewer.