Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1149346pxv; Fri, 9 Jul 2021 19:35:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe2Qq9X+YQ7DM1+7gIafjxVVjRWrbXE5njbS+Mr+CN3SN1+3HueNahRXM6SHsjILGYmnFa X-Received: by 2002:a17:907:97d2:: with SMTP id js18mr34609957ejc.517.1625884529121; Fri, 09 Jul 2021 19:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884529; cv=none; d=google.com; s=arc-20160816; b=q8kMXnMIXXSWrmbCKloX2U8gQhGd5pxrmecPtS0tnA9Gx9f9WmbkyMwvbpzrHsmFkO Xa3UM2mlY1+6XQfbYzbCstGu5vMw5lTQI2US3C48th4jGkluyfPynEsh6dp25TJrYiuy PhSSfA04xKMfsHjBtFarLUTEkqsRzaCOxHf3n709Ed3xjI8zkykLTVS9LMVk+b2d1fy4 3B0CXTER0oyEe1iYixTz/gjfJaQ2PXu/14Mnq5LsqjkLUgREuWWSOiZ7cUW2ySBSR5Th Jgln9INhfarJkuV2oxsXhG06b3WlXshXWgZEFiZoqOPXZUER+O2M3PuI3Y39FBUQzuHy wKug== 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=aUDVTeEeWusWDmmSSJHW1tmNMb9PErZypMcC5aumYj8=; b=oQwNBArXWshAr1EZKdYRMSJRyLp5EebEuBMcvy1wYbM91u9kgVLZu+MzKGTNFkLv16 AkgLTm+BzpojEn5+M7F3e5C6Axz71nR9TI2jKx4/1sVdhqQ9nDGBUhaAV3wrW+Ao0CbT sQ1OeRSswjaefbV44pEsFMJkIQhPTILwxSnL3fdQvf4nsnJqEQEBe0GMDFpQRao0sr/D CCQHEkPyoDqifJ7foNEYlfKRZLxLq6FG7peM5bOzEMyC7oIbyRTax5+/jECj+WB3UtZu gSQHyVFf1DGFCIpms0aPkEieaJI3kuDdlo6QkX5w1vg4G8CH+fBWtHdsuigyeZbvQmrT HnOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QcBGbOs7; 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 df15si6263623edb.542.2021.07.09.19.35.06; Fri, 09 Jul 2021 19:35:29 -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=QcBGbOs7; 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 S234804AbhGJCeM (ORCPT + 99 others); Fri, 9 Jul 2021 22:34:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:42974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234576AbhGJC3g (ORCPT ); Fri, 9 Jul 2021 22:29:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BA31C613AF; Sat, 10 Jul 2021 02:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625884008; bh=vRJBqCGDlyiiqx2PHsFVrbw8cwYyu7XjjgUbITPBjU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QcBGbOs79W7+iCq9XUKgfddkZkuIupITMCjhCb3o/51KEjQN8EDiTD9TpkzO6iBCE q9hubZuNrvAtp+tocVb16aYD51M1bslg25wi9kCeUsNPi2fIC+RQVYUb0b6S9HU7Vh 5YAdPIm8hTMM9uv2CyEZo9xgDlpX5/UZt9bHuaMhwqlP9jxG/hSAUcm6Kt92oT8XRt KE1DdH9hZ4D3iawMNAZ5G+LeVackilEk5rFanoAdGjAyl54Sw6FihVXDUIwVC/aRr6 g01l0kwMus7XNJF7aQ/HTGlez1x++BrwW/JqTlBkKRKhNYbm7zQkipv3WJcq1XfmgL rkHZQQaYuziyw== 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.10 81/93] ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters Date: Fri, 9 Jul 2021 22:24:15 -0400 Message-Id: <20210710022428.3169839-81-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-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 a4fbe6707ca7..4ed1349affc4 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