Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3226680imw; Mon, 11 Jul 2022 04:44:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vGL+QsYe//Jmvb2JGk7DUsIsaWYcLxOoLU1ztk1yR3uH4+I03ilLacqvlvAcPcWLakLdag X-Received: by 2002:a63:b449:0:b0:40c:f5b5:639f with SMTP id n9-20020a63b449000000b0040cf5b5639fmr15426566pgu.48.1657539849722; Mon, 11 Jul 2022 04:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657539849; cv=none; d=google.com; s=arc-20160816; b=GHUfAIm5nCQw0XFbyIVk+E3jleT6GT3WTDkPiewMsZVbg8Au6y3NicboQs6PGVkxtl UeVO9+bqkIirxl6qOSYf2WrbhR5s7Di3XKyCTsdBywPyAjrhjwyuSkuBFad0XcyZlhaY yVlskrezlTXjqMUKlZr4lPEMXw4jAjzgo1vxm0M/odmqC2y1vyAFcC88+96nO0pkMjer ELyS247X6XkLzUDPcyzbWpnPaTrxozFrrc9Qb5/p/dLC9s5to9AxG5tObETGsXCxnroe v/lF0jcAiN2+40m0b4KrmGOlCg7WXFCbJ/friVimv0K312K+nanTHpvXyKxGzghaDTiu VjtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ExItjvxu5XSeQBwglv5AGzzjjMOIYQDacdHXXcSTgdg=; b=ZRieaYzByyWFEvhdQP6kEPmKaZrm48mytSFnZSAxFzJB/0rAbjjwWWArqN+JeBbH4g oWcv1RkDFaA+4zPlv/MkFFsq+RZ69cja5vc3mCg59ARmh8Yg4UfZJ0ouBQeqmzDf1NCW zciezmxouigygYTpkkJn8F1QKgr4mV/6JAx93b2UVUKyCLXgpOt+4PJt9ZMlDOWIVH8v 01m6CVEz34i9LQkHY43TPrCpr4H8gwucxahGMNeq647kILmRDkgdaft/OxJpbJ48MyjA lUB1/MkCMNKX73+baMuBUeajp6BFf3XrAA9TO6bOi3cxFWkj0n+0YSae86UcpLoBUM/X AQGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PpcQZLRl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l63-20020a638842000000b003fe34775ab6si9489284pgd.286.2022.07.11.04.43.58; Mon, 11 Jul 2022 04:44:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PpcQZLRl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbiGKK4c (ORCPT + 99 others); Mon, 11 Jul 2022 06:56:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbiGKK4L (ORCPT ); Mon, 11 Jul 2022 06:56:11 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FB1FE516 for ; Mon, 11 Jul 2022 03:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657533687; x=1689069687; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1oSD9MqauB/qwzh9VWhLPcyk4oTHCUen8yzMNm9SlPE=; b=PpcQZLRl6VhSryOzpUaUNwfqU4Um3/3GkO+l9sBqW7ubPFCfuw2cdKTG yLizUWFsC1sVtngMbkOmKx5fVqU6ViNbOvUNmO7Gulov3SGBmrb7vRM4C HAimoNmE54IN9GTjo5oDB3NL+J/yPNVOqaXpyA5pnlKBOXwf7ORtsezi3 fK+dXePRL8OPB7vp9Ycts/ulSK9liO2zlMxA28qzeGloKmdIpKlMpsSlQ KC5qEQdyoo52JwuDeVUhEEZk9M7l3+OtC+ehYkMBKPdIhh9fYnAJv31sy 1vC6Lu0ltYYfXPJxPfwa01evW2uXOP/UFHcEmvm7u4C4ENh7+fYQwdTcC Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="370931585" X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="370931585" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 03:01:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="840955816" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 11 Jul 2022 03:01:23 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id DD1561A0; Mon, 11 Jul 2022 13:01:30 +0300 (EEST) From: Andy Shevchenko To: Takashi Iwai , Lucas Tanure , Andy Shevchenko , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org Cc: James Schulman , David Rhodes , Richard Fitzgerald , Jaroslav Kysela , Takashi Iwai Subject: [PATCH v1 1/1] ALSA: hda: cs35l41: Fix comments wrt serial-multi-instantiate reference Date: Mon, 11 Jul 2022 13:01:29 +0300 Message-Id: <20220711100129.37326-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The comments are inconsistent and point to the wrong driver name. The initially named i2c-multi-instantiate it was renamed to the serial-multi-instantiate exactly due to support of the platforms with multiple CS35L41 codecs. Fix comments accordingly. While at it, drop file names from the files. Signed-off-by: Andy Shevchenko --- sound/pci/hda/cs35l41_hda.c | 4 ++-- sound/pci/hda/cs35l41_hda_i2c.c | 7 ++++--- sound/pci/hda/cs35l41_hda_spi.c | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c index 23a97ada7272..49b25432a9f5 100644 --- a/sound/pci/hda/cs35l41_hda.c +++ b/sound/pci/hda/cs35l41_hda.c @@ -415,8 +415,8 @@ static int cs35l41_hda_read_acpi(struct cs35l41_hda *cs35l41, const char *hid, i no_acpi_dsd: /* * Device CLSA0100 doesn't have _DSD so a gpiod_get by the label reset won't work. - * And devices created by i2c-multi-instantiate don't have their device struct pointing to - * the correct fwnode, so acpi_dev must be used here. + * And devices created by serial-multi-instantiate don't have their device struct + * pointing to the correct fwnode, so acpi_dev must be used here. * And devm functions expect that the device requesting the resource has the correct * fwnode. */ diff --git a/sound/pci/hda/cs35l41_hda_i2c.c b/sound/pci/hda/cs35l41_hda_i2c.c index 5cfb5aac37ac..df39fc76e6be 100644 --- a/sound/pci/hda/cs35l41_hda_i2c.c +++ b/sound/pci/hda/cs35l41_hda_i2c.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 // -// cs35l41.c -- CS35l41 HDA I2C driver +// CS35l41 HDA I2C driver // // Copyright 2021 Cirrus Logic, Inc. // @@ -16,8 +16,9 @@ static int cs35l41_hda_i2c_probe(struct i2c_client *clt, const struct i2c_device { const char *device_name; - /* Compare against the device name so it works for I2C, normal ACPI - * and for ACPI by i2c-multi-instantiate matching cases + /* + * Compare against the device name so it works for SPI, normal ACPI + * and for ACPI by serial-multi-instantiate matching cases. */ if (strstr(dev_name(&clt->dev), "CLSA0100")) device_name = "CLSA0100"; diff --git a/sound/pci/hda/cs35l41_hda_spi.c b/sound/pci/hda/cs35l41_hda_spi.c index c9a61675c4fd..2f5afad3719e 100644 --- a/sound/pci/hda/cs35l41_hda_spi.c +++ b/sound/pci/hda/cs35l41_hda_spi.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 // -// cs35l41.c -- CS35l41 HDA SPI driver +// CS35l41 HDA SPI driver // // Copyright 2021 Cirrus Logic, Inc. // @@ -16,8 +16,9 @@ static int cs35l41_hda_spi_probe(struct spi_device *spi) { const char *device_name; - /* Compare against the device name so it works for SPI, normal ACPI - * and for ACPI by spi-multi-instantiate matching cases + /* + * Compare against the device name so it works for SPI, normal ACPI + * and for ACPI by serial-multi-instantiate matching cases. */ if (strstr(dev_name(&spi->dev), "CSC3551")) device_name = "CSC3551"; -- 2.35.1