From patchwork Tue Feb 13 21:58:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13555768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2657C48260 for ; Tue, 13 Feb 2024 21:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9tCC61J2P2eyt6KCKSi3SVCLUhdjznXkGm5WeyHpyR8=; b=XET0rOjY6jQ5re /KDCVD6UEw0d5h3IPdqKjUZXIubJ1eW7/dZm4gl1vazmhHHgfvoZlX5cZ3LPobmKjTq3fXYDNf11q JCQHhD/updWdE5Sz8xX1R6jM7u5WjEv7v0SYg81pnqb/zWZ1KMWZhEvPhs59XFIE7fWqKo2+7Bhwy fDzD7xnDMiyIFa+JRY7W+EfCOpzwFpCOZN4IhcX1aMbGGFaPGuKiDkc8z7l8ccuw/hF2U+25v1VsE mGQKP2mQQ7bgMME1Hza9KAHRpN2qRZ713RIC+MStDm816ubZnoKaWz26KiybKzXVlRELsjXk7jICo twOwRNkT4WsnVQB8Wi2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra0nF-0000000AwZF-3Bmh; Tue, 13 Feb 2024 21:58:21 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra0nC-0000000AwXM-04KC for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 21:58:20 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-411e398ce3eso576945e9.3 for ; Tue, 13 Feb 2024 13:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707861496; x=1708466296; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JTFkdUvqDHeua3DO9ZE8KGhtt+pXkN0o9OOhcSIs5kI=; b=IAr5xcBdRhfj9osvHS9y/6LT0GmZ9PDEGJkOH5Lk1eF3vjCJXtB78q10Luayc78gwK z5oCRPawguaWo9nQOAlZWkvR0bCJqVFumRAcSHY3e/gCl6LPJN90YluvQZK8bmOmIYTy 3GE6mYq6IHoZuY/lBt3jA0pmAjeOqx0LIoKK30Qcqk0JqRT/njsUa3tBeav0eIJnLZy+ mjWZmtf1KCcnXRyI8atSFhsPqcQKV8JVGOoLi8vzxObJ6N7+aQu8AfcODyAu4SWfNpr/ 2J+67D2EU0l6zZPPZV9eRHsqjIP6Rc/QuhUfvXuXaPc8D40uLfaC6fc8m+1jBOL6jT4r WeUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707861496; x=1708466296; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JTFkdUvqDHeua3DO9ZE8KGhtt+pXkN0o9OOhcSIs5kI=; b=WYpWC4TRKL0TaOIW/go0xeu4o18ZFZunanwXnAv1D9WWBIojcNARpuuWMSA/GnW1jp lPL/A7zZbXGuqKInZviPI84pAkxyFPkn2lDd8k/1qF1bDzIn+rSliJvP+QD8MIMRXD1e hYAdkeKhciYTboWZdOcudLXzRzISCUYyj0hm7jT9jlqEdI2i4bGPeHIJxKJbOja/RsZA nl/I6biH3kX8D8JvUadU+67hBx9aknk2xTmy4gdWS4XNuecpc1/vtipu0e6+fdt7PCAm YmYUOI9Sp1EehOwhMBt+Fy6K1DXYd3BMn3gRS2A1YDOmztJ/zZA5WxjKjhT8AGggMDZp 85tA== X-Forwarded-Encrypted: i=1; AJvYcCVrLc2rK+AWYklP/r0O4hlGlEmk4PU4VJGTc7yCSFS5xqgU5tybl/aW0FI9NPZlX2CSRUJ1cMl+25qoTyae4XO0xyp4u845e1xf2ZqeyRZD26z50lY= X-Gm-Message-State: AOJu0YxSBhMtX7KrRX87/LoT9/47uXLxVMb2/pv7DPvcucfJ9X4FJ1nP dl5hFObOUfxb8kmks3szqZzbgLlgZIbq69N0ifVrVz+gUEad4/36SosPYRkJX2M= X-Google-Smtp-Source: AGHT+IEvF9YysnB+h9yQmXedxh2DZ1klO9I/GaHAGPGFJ/xyzrf4xPser0a/xrJw7KqwTxEY1n/K1Q== X-Received: by 2002:a05:6000:1e84:b0:33c:dec9:a269 with SMTP id dd4-20020a0560001e8400b0033cdec9a269mr403220wrb.57.1707861495863; Tue, 13 Feb 2024 13:58:15 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUDhr6+e+5qjE0+9Mw4cEpFjAFXBxy7lvahl/dXNLc4oKDO+uMl+AqZFDqC/VhnfJ2IXWUNIqwOxedeeZ+wjrmUZc1Fe2gpVedxuJNN5OlaRbtIaAP4oPoW3QmhRzlxky9J/Ovv/Es2NvK6bzgsP/Tz2sps2oihr/qvKiqyZ5Puv+B1RAWJlXgOguK7mCZFVDtV7zwLXtxQCQjqUPKqv5+cGOqetxhWGEWgpxTM52qr2B+WyDUin1UvGQp45l7cJ4Ke8Q53c4b9lNfJQctutivgKWXGXWKQMnX/AVO73GxFgBsfY7iFPj8RbGDNOqID4sWqOubeVd93IM/Mh0BJ5J6oe9GTFDwiIjZcu1bQwWUY6Yfi9wBaSaiM8gs6eM3zYjxPRzeQ7AwLqQ3iu0FUPuXcfBHtuWVL0yqORytKv6KuGmrqsva+lnxTYKgm54WQtmUuURzwV3QouQiA4wtrTdk3uSf0AptwXWMXM3R/iCUWSJqBDAMf7Mu1BmnvnJdz6t/rDMkViAkdhWAQVIthhnjPAMyFqW4BFbsWCWbJgM9TfxNzdN9tCCAyTJYO8zqP6+2ZX1fda/Wmf1xc0uoCeB4M5wYHHTNAKcEdLnk1cT38hgOq7mc= Received: from toaster.lan ([2a01:e0a:3c5:5fb1:af6b:4350:776e:dcda]) by smtp.googlemail.com with ESMTPSA id r3-20020adfca83000000b0033cdbe335bcsm2415244wrh.71.2024.02.13.13.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:58:15 -0800 (PST) From: Jerome Brunet To: Mark Brown Cc: Jerome Brunet , Arnd Bergmann , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH v2 0/2] ASoC: meson: aiu: fix function pointer type mismatch Date: Tue, 13 Feb 2024 22:58:02 +0100 Message-ID: <20240213215807.3326688-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Patchwork-Bot: notify X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_135818_289984_D1720041 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset fixes 2 -Wcast-function-type-strict warning in amlogic audio drivers with clang 16. Changes since v1: [0] * use devm_clk_get_enabled() instead of adding a dedicated helper in each driver. * Split the patch, 1 per fixed commit to make it easier for stable. [0]: https://lore.kernel.org/lkml/20240213101220.459641-1-arnd@kernel.org/ Jerome Brunet (2): ASoC: meson: aiu: fix function pointer type mismatch ASoC: meson: t9015: fix function pointer type mismatch sound/soc/meson/aiu.c | 19 ++++--------------- sound/soc/meson/aiu.h | 1 - sound/soc/meson/t9015.c | 20 ++++---------------- 3 files changed, 8 insertions(+), 32 deletions(-)