Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4288718ybl; Mon, 9 Dec 2019 08:23:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyzAd3HvW6FFH5mq0iT0IjEYKEYIYLv542EkJp9r6bCg4khvVBR9/ULs+xHr/jOUGZXtT1O X-Received: by 2002:a9d:24c1:: with SMTP id z59mr21372322ota.207.1575908596687; Mon, 09 Dec 2019 08:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575908596; cv=none; d=google.com; s=arc-20160816; b=QetUpmVZ09DYrlCPQ2eYaHz4xDCsaMslMRd8lR1RklRo1XKUI3KJVD1zgnl3lzaMi0 6gTvC/mgUIA8PNk4ZQ4YhConouxt4BthQCaqrWY1WxviGZiwHIqeIVfsFJ+lzRp5eT4E PKNABGA/f+eGOjj/ne6VPCw9y+qkhmnXe85QDnJY4cMobcxvQ7Ky4k2YonWqHEiMbq2A 3mDCvCNpYG1EDdlHiDA3fJD1KqdT+zO4nnIMhpD1EPomDH6tJQQl+aCDN4Ua3E5MhuCA maJtu2MjvTQRvIgQijCTjBhjY6/duD6ciCNyp1Kymzk1ObYIaG+Oh2EIKpUNQ7E4fbVg hyWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=9ivG1sogaJP93bTE4LGU6va4QS4V/Fw37s6F674FfD8=; b=ATgNQO2VKoKGKWeaUZOhlltoydfYyCJaSwqyoTz2MvrXD3SHqa3GgKC6NDjdO+sQhE TPnei6JpdqvD+fwhJrptwISomJxgtoOzoVL8SYEkoONHDY+9wuZb9O4wPmz844Hb9ioy 55XdoCo8RcfFQzJfULYZzu427MqkJcxPnWzZ+iEkWsUhdZPHajPAnAd1QTCumL/aaC4/ 0dSJcJVq8+sUVFYVL3Nr50S+NvjMZnvK6lqqnLIAs/O+XSXAUFRpRXjV/HXltLHfBncL PNtOa0ZmwIMEs/lQfCrBkD/c/EhC5ygBuGNuw+zPMoTMMU7L8IApDIvsF4GRsBY52ONF aP1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oe+5C+o2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si28220otc.189.2019.12.09.08.23.04; Mon, 09 Dec 2019 08:23:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oe+5C+o2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbfLIQVg (ORCPT + 99 others); Mon, 9 Dec 2019 11:21:36 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:37730 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbfLIQVg (ORCPT ); Mon, 9 Dec 2019 11:21:36 -0500 Received: by mail-pg1-f195.google.com with SMTP id q127so7366308pga.4 for ; Mon, 09 Dec 2019 08:21:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9ivG1sogaJP93bTE4LGU6va4QS4V/Fw37s6F674FfD8=; b=oe+5C+o2ssEPEJg4vajO8v3ZF+0bJ8RMzXHtUw8k/N5UcGUYTL3+mwi3NeOA7S6sip Ml0YnEea19N3gxajFY+s144LflzHMoJkwtV8lXm6Qjj0FnWPfT/gcqygWfmWHs7KmQZX o4i/lmpRRGgpvNO63t7uEgc8/855nkXQemUMvgDV99FI8K7oHpGAs7MfQavtzAxz8S78 Io7OWZa0+BCEv8Nozwwe1+G1qLQUE7nOtFKBnaCQhHlcFl/L/2o7ZQVuUbZiX30c0YO1 hCkWjnaGZ3NVTI3iCFWQH6d6Z8gGquqqFYKlvilIbgz0n6KS8YAFZEQNdY0t8/Kxz56b G5FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9ivG1sogaJP93bTE4LGU6va4QS4V/Fw37s6F674FfD8=; b=XN7jHgUHp73y1x4ed6NW9RJW/aDLREMGedl2mbXfeZ2cWzYUewXeFuc8Zn0QnsWNxi msQMsxBQoWFpCRphrTfkX4UgodRTgDY0dq+j0O/luD8ZOhxDZ4P3OG0pgHEyJlpTvhpN pXZ/rBCgjVl1m42P1lZzZ0ioq0RqSdU34nr72wkvymYflKNudT15pBPYRnD0uqXuxZyz WX+uNT3es9R41zUDCpkxn3V10BTdGdiWON2eWsx9B5hEGiUXzyGYr4z+Nzy/LD/246YR 7F2S37s7KR/rQwztNvyQ5tLwOjlELdU04z18cMucl/UfZz++IIA8hGerXOfa0LijfuaE GJTg== X-Gm-Message-State: APjAAAX6ftcW0fEZ+i/x4sVTdGiuKZQcoUxIVX9mGXB3/flm5vmqfrGK IgBprz9KqW/oAqwJ5NGw7kA= X-Received: by 2002:a65:530d:: with SMTP id m13mr19576837pgq.351.1575908495552; Mon, 09 Dec 2019 08:21:35 -0800 (PST) Received: from suzukaze.ipads-lab.se.sjtu.edu.cn ([202.120.40.82]) by smtp.gmail.com with ESMTPSA id s2sm28695572pfb.109.2019.12.09.08.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 08:21:34 -0800 (PST) From: Chuhong Yuan Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Chuhong Yuan Subject: [PATCH] ALSA: hda/ca0132 - add missed snd_hda_gen_parse_auto_config Date: Tue, 10 Dec 2019 00:21:19 +0800 Message-Id: <20191209162119.14820-1-hslester96@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is found that all usages of snd_hda_parse_pin_defcfg() are followed with snd_hda_gen_parse_auto_config() except here. This should be a miss and needs to add the missed call. Signed-off-by: Chuhong Yuan --- sound/pci/hda/patch_ca0132.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index b7a1abb3e231..ea1187a13241 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -24,6 +24,7 @@ #include "hda_local.h" #include "hda_auto_parser.h" #include "hda_jack.h" +#include "hda_generic.h" #include "ca0132_regs.h" @@ -8844,6 +8845,10 @@ static int patch_ca0132(struct hda_codec *codec) if (err < 0) goto error; + err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); + if (err < 0) + goto error; + return 0; error: -- 2.24.0