[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFz-+mez2aTqV=Ya9eHC1p+RVrhC_PHZA5ab2x2U+A8GYw@mail.gmail.com>
Date: Wed, 15 Aug 2018 19:08:04 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Joe Perches <joe@...ches.com>
Cc: Takashi Iwai <tiwai@...e.de>, Mark Brown <broonie@...nel.org>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] sound updates for 4.19-rc1
On Wed, Aug 15, 2018 at 7:05 PM Joe Perches <joe@...ches.com> wrote:
>
> Why does the commit change snd_hda_gen_add_micmute_led
> to return 0; instead of return 1;
>
> That bit looks wrong.
Well, it changes the comment too, and is clearly intentional.
I guess the logic was to have the usual "0 for success, negative for
error" logic.
Which is good - but dammit, when you change the return value, you
should definitely check and update all the callers.
Because yes, updating the call in alc_fixup_dell_wmi() fixes the
problem for me.
Grr. I wasted a fair amount of time on this.
Linus
Powered by blists - more mailing lists