Re: [alsa-devel] [PATCH] ALSA: doc: fix snd_hda_intel driver name

From: Takashi Iwai
Date: Thu Feb 13 2020 - 06:46:25 EST


On Thu, 13 Feb 2020 12:43:52 +0100,
Radoslaw Smigielski wrote:
>
> On Thu, Feb 13, 2020 at 11:58:04AM +0100, Takashi Iwai wrote:
> > On Thu, 13 Feb 2020 11:36:37 +0100,
> > Radoslaw Smigielski wrote:
> > >
> > > Update driver name snd-hda-intel to proper, existing driver
> > > name snd_hda_intel in Documentation/sound/hd-audio/notes.rst.
> >
> > snd-hda-intel is correct from the module file name POV.
> > Both are handled equivalently.
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> Takashi-san, I agree that the names with hyphens (snd-hda-intel)
> are present in help sections of many options in sound/pci/hda/Kconfig.
> But snd-hda-intel is confusing from end user point of view.
> After reading notes.rst, end user is going to do someting like this:
>
> lsmod | grep snd-hda-intel
>
> and this command gives false result.
>
> Also this modprobe.conf file is not going to work

It must work. If not, it's a bug of modprobe :)


Takashi


> but it's an existing
> example in Documentation/sound/hd-audio/notes.rst:
>
> > > - options snd-hda-intel patch=on-board-patch,hdmi-patch
>
>
> Cheers,
> Radek
>