Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1145764pxv; Fri, 9 Jul 2021 19:28:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOuFsANDqgMnGguZk8JNhClnhPRqZ4JxsGrWbK2uHcWlgXNQM3efNVxAIluvLf7Ophadu6 X-Received: by 2002:a05:6402:4249:: with SMTP id g9mr29512702edb.73.1625884098691; Fri, 09 Jul 2021 19:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884098; cv=none; d=google.com; s=arc-20160816; b=Usi9hGFU0jeaSxxB/ZLsg8xQAy4C+gTcHl0VYVaszEtkwX9ukUHFkwV1OQfEx1XQMc EFy1+7qBk//7KNyX7s6g9n3mshBFI9zskyP5pSsN50nHNpYpxdl279DmSpcH9s8sH5Ih h1HSStfTBoCsaJ6ItpqkjLde8nchnxfXxgBCBy5jqYysJVhXgxSQXlzQPAMs2vPccNfh WVDgYqIUcMB4gxExMvTazT9dSkdVKVRgXKW4/l5Xey4ldQ35tQ9uFwdcUAizh9BIIiEF i6aqcShClY+S4NColWVjoDfWSXS8E1EFPxgElzhLp2etvv/3e97TMdmxK/nv/lwCdgPM NIfg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Y/DPiN5572m+Rt54WBVf+SDE35C0tHfd0N09bDZbLcY=; b=Y0x9ZW5N1Hwt72toHpzeKM2cZvEJj0H70lYjx3J20875Pqg/f7+PuutA7tCI7SroKa +av8Tk8P5eW9dGna+WmZK+U2KalhQsxsk5KN9GnYFLLlLjb+LX4rU8aLLIONuTrFbCkF 6DLDsdLTktJTxhEEXtw+QGlmpamuaUhNHmQt7Os4492o7liRs3V/NCRzmJqK8iyqZwXo RL04UK3VQuxx/WT0mg8J/FUKkPMOl9ETB7e4WWQ8wLutLM4zid/LxK3QVCNliKdVgz+f bSy7H9+a0440JMVDKE53sgHccPXEInWlfRvV6IFX46MWGAfOjSYjDjrZr/IN1T9ykVbP R/fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EUcDd8R9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si8280948ejb.69.2021.07.09.19.27.55; Fri, 09 Jul 2021 19:28:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EUcDd8R9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232072AbhGJC2y (ORCPT + 99 others); Fri, 9 Jul 2021 22:28:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:43192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233681AbhGJC05 (ORCPT ); Fri, 9 Jul 2021 22:26:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6FE0360BD3; Sat, 10 Jul 2021 02:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883848; bh=FtsKgyelD/tkbRcocyAuAOEID4i70bVczFLLqLRBYL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EUcDd8R9LD5LRs+prfUpED0Q68aUzuXWFXb1ri4nytfud7hWuls651xpxD19TL6kp 0DBqhuBSTGABSgD92X3zc6HYBSkh8TiM/BL0EWrSuiLexZdIK5uYmZvDW6XYWnfeLE iFQ9VMU6/f/uexXJzDv/kGKmOm5dGrr1KtWOj/ZHYrcDyY0AueFE34luu2buzbtWXP MEGS+OSRqsQgxiT7ao/yDfs5CK7XZ4KajCRPZkYCIzMMqrinQQMEtwlJRV9GFjjPFP qODIJB6jMmUFeImYuNcmaNYFEBUvMXCEjSN8LzX6//GSp7x5fbJ7DwUZJ0Nnvgp5x/ zXS0KKDoIG4OQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pierre-Louis Bossart , Paul Olaru , Guennadi Liakhovetski , Rander Wang , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.12 092/104] ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters Date: Fri, 9 Jul 2021 22:21:44 -0400 Message-Id: <20210710022156.3168825-92-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022156.3168825-1-sashal@kernel.org> References: <20210710022156.3168825-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart [ Upstream commit 94efd726b947f265bd313605c9f73edec5469d65 ] Sparse throws the following warnings: sound/soc/intel/boards/kbl_da7219_max98357a.c:647:25: error: too long initializer-string for array of char(no space for nul char) Fix by using the 'mx' acronym for Maxim. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Paul Olaru Reviewed-by: Guennadi Liakhovetski Reviewed-by: Rander Wang Link: https://lore.kernel.org/r/20210621194057.21711-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/kbl_da7219_max98357a.c | 4 ++-- sound/soc/intel/common/soc-acpi-intel-kbl-match.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/intel/boards/kbl_da7219_max98357a.c b/sound/soc/intel/boards/kbl_da7219_max98357a.c index dc3d897ad280..36f1f49e0b76 100644 --- a/sound/soc/intel/boards/kbl_da7219_max98357a.c +++ b/sound/soc/intel/boards/kbl_da7219_max98357a.c @@ -594,7 +594,7 @@ static int kabylake_audio_probe(struct platform_device *pdev) static const struct platform_device_id kbl_board_ids[] = { { - .name = "kbl_da7219_max98357a", + .name = "kbl_da7219_mx98357a", .driver_data = (kernel_ulong_t)&kabylake_audio_card_da7219_m98357a, }, @@ -616,4 +616,4 @@ module_platform_driver(kabylake_audio) MODULE_DESCRIPTION("Audio Machine driver-DA7219 & MAX98357A in I2S mode"); MODULE_AUTHOR("Naveen Manohar "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:kbl_da7219_max98357a"); +MODULE_ALIAS("platform:kbl_da7219_mx98357a"); diff --git a/sound/soc/intel/common/soc-acpi-intel-kbl-match.c b/sound/soc/intel/common/soc-acpi-intel-kbl-match.c index 47dadc9d5d2a..ba5ff468c265 100644 --- a/sound/soc/intel/common/soc-acpi-intel-kbl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-kbl-match.c @@ -113,7 +113,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[] = { }, { .id = "DLGS7219", - .drv_name = "kbl_da7219_max98373", + .drv_name = "kbl_da7219_mx98373", .fw_filename = "intel/dsp_fw_kbl.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &kbl_7219_98373_codecs, -- 2.30.2