Re: [PATCH -next] ALSA: hda - fix error return code in patch_alc662()

2013-04-18 Thread Takashi Iwai
At Thu, 18 Apr 2013 11:12:59 +0800, Wei Yongjun wrote: > > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as returned elsewhere in this function. > > Signed-off-by: Wei Yongjun Thanks, applied. Takashi > --- > sound/pci/hda/patch_rea

Re: [PATCH -next] ALSA: hda - fix error return code in patch_alc662()

2013-04-17 Thread Wang Shilong
Sorry, i miss something.. Thanks, wang > Hello Wei, > > +++ b/sound/pci/hda/patch_realtek.c > @@ -3787,7 +3787,8 @@ static int patch_alc662(struct hda_codec *codec) > if ((alc_get_coef0(codec) & (1 << 14)) && > codec->bus->pci->subsystem_vendor == 0x1025 && > spec->cdef

Re:[PATCH -next] ALSA: hda - fix error return code in patch_alc662()

2013-04-17 Thread Wang Shilong
Hello Wei, +++ b/sound/pci/hda/patch_realtek.c @@ -3787,7 +3787,8 @@ static int patch_alc662(struct hda_codec *codec) if ((alc_get_coef0(codec) & (1 << 14)) && codec->bus->pci->subsystem_vendor == 0x1025 && spec->cdefine.platform_type == 1) { - if (alc

[PATCH -next] ALSA: hda - fix error return code in patch_alc662()

2013-04-17 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun --- sound/pci/hda/patch_realtek.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realte