* [PATCH] sound: fix name of SIS7013 sound chip in comment
@ 2023-09-27 7:17 Thomas Perl
2023-10-06 8:50 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Perl @ 2023-09-27 7:17 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel, trivial
While grep'ing for SIS7012, I noticed that there is
only one reference to it in sound/pci/intel8x0m.c,
while most of its code lives in sound/pci/intel8x0.c.
This probably was a simple copy'n'paste mistake, as
the sound/pci/intel8x0m.c driver implements support
for SIS7013 (see DEVICE_SIS), and the two devices
seem to share the same behavior / registers.
Signed-off-by: Thomas Perl <m@thp.io>
---
sound/pci/intel8x0m.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
index 2845cc006d0c..653ecca78238 100644
--- a/sound/pci/intel8x0m.c
+++ b/sound/pci/intel8x0m.c
@@ -918,7 +918,7 @@ static int snd_intel8x0m_ich_chip_init(struct intel8x0m *chip, int probing)
}
if (chip->device_type == DEVICE_SIS) {
- /* unmute the output on SIS7012 */
+ /* unmute the output on SIS7013 */
iputword(chip, 0x4c, igetword(chip, 0x4c) | 1);
}
-- 2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sound: fix name of SIS7013 sound chip in comment
2023-09-27 7:17 [PATCH] sound: fix name of SIS7013 sound chip in comment Thomas Perl
@ 2023-10-06 8:50 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2023-10-06 8:50 UTC (permalink / raw)
To: Thomas Perl
Cc: Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel, trivial
On Wed, 27 Sep 2023 09:17:32 +0200,
Thomas Perl wrote:
>
> While grep'ing for SIS7012, I noticed that there is
> only one reference to it in sound/pci/intel8x0m.c,
> while most of its code lives in sound/pci/intel8x0.c.
>
> This probably was a simple copy'n'paste mistake, as
> the sound/pci/intel8x0m.c driver implements support
> for SIS7013 (see DEVICE_SIS), and the two devices
> seem to share the same behavior / registers.
>
> Signed-off-by: Thomas Perl <m@thp.io>
Thanks for the patch.
Unfortunately the patch isn't applicable cleanly, likely due to your
mailer malformed the spaces. As it's a really trivial change, I fixed
manually now. But, at the next time, please try to fix your mailer
setup and at best test the patch application by yourself beforehand.
Takashi
> ---
> sound/pci/intel8x0m.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
> index 2845cc006d0c..653ecca78238 100644
> --- a/sound/pci/intel8x0m.c
> +++ b/sound/pci/intel8x0m.c
> @@ -918,7 +918,7 @@ static int snd_intel8x0m_ich_chip_init(struct intel8x0m *chip, int probing)
> }
> if (chip->device_type == DEVICE_SIS) {
> - /* unmute the output on SIS7012 */
> + /* unmute the output on SIS7013 */
> iputword(chip, 0x4c, igetword(chip, 0x4c) | 1);
> }
> -- 2.39.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-06 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 7:17 [PATCH] sound: fix name of SIS7013 sound chip in comment Thomas Perl
2023-10-06 8:50 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®