Re: [PATCH] sound: fix name of SIS7013 sound chip in comment

From: Takashi Iwai
Date: Fri Oct 06 2023 - 04:51:06 EST


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@xxxxxx>

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
>