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: 13555712 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9507762169 for ; Tue, 13 Feb 2024 21:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861499; cv=none; b=YxzPhAzHHOE65qEjoVwUO+dhlwdAQoOr5Q+4wdKFGnkjJOg97MDlmz6sQRg292gJtMv6S40RuEhUQAssc7yjGI1Ilfd85uXEYvQHMXX085OBjhVU2b12Wp+05TRs0cW8XyJMTwbxWWpPxBLfwlU+aYrkMINCI/sGN7pGDKCqe7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861499; c=relaxed/simple; bh=fG6Q1QiFR6PmovjVj2fEe8hauDiQX9AI9JtszF3W1lk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZH190wmNHnyIKzMjSnZgjthjlAeFldha5WxFiQPp9fcgmVl9DWYkTB32tZ2VWPKByO3japE1QJ7J8OQqmKUbvuFLnrITgBByusX0VVVZRLCJwPALWNjV1eVz7ifV8hH+EfeaIGrKcQpvahAV1qKt4RzFOObTuHh40a71ersOXP8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=2bfxdz5C; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="2bfxdz5C" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33b189ae5e8so2120330f8f.2 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=vger.kernel.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=2bfxdz5ClgCidhARiGwYjsbfpSDOvEV3mtqi862tqWxyU4Ba4grASYjQl/8bDqYEMV 3aAcsuS+DrDmJyCcFIkY/IDIpSjpAT7+ditmjlNRMOJ0qg2ZJPSj9w3bKefuyOV4u6h4 r43HIdv6wYyathKIyiyOGBchzhrj578JXBKV7sSBjwj+mxD35aPP6QcV02hhPiMCwAq/ MgpCjqFu+yztAJ8bupAyUkaoNvDqTXe8jgocBtFU9qVqk9/h4Oxj08U9HfHwfL7SVeKs RRvG0vEY/5kYw3oHiuESVKQc5RnD41WQlXjq/PONl43KHtgPsDqrrZRXZ9btpTdwZ9Xv bTiQ== 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=Z8xwi+WgJ4o2jUI/d8wUJowWZ4d/3wTdlg3clzAD2s/f+JRAcf+XIGpX7ocI1/r2/D 7Ucms/b1u5UCxIxElSoTvpeL971nyZppCAFhuT/DntC6IE+EeCrRY2ER7R4HJ8zfPZfZ yrlvF1Fco44QgsZ7o50nFuHidNRGYZF/Ye+HlgBvMRrI3kyzdsW1wXc1izR5Rk8c/C2w 017iipHwfgYKfIT7vHXeZ/cm84oRpeOzZDrNm1R060tBZ32+9DBuUBJTguhjcNqtbMNe JQSzAfuJXy96ckki2+4j15oNDrijKNdCpYC9zHAwtZDHvtEy0Z8xs10VnvZxuMfC6d7l U07Q== X-Forwarded-Encrypted: i=1; AJvYcCUJ9PVl72syAw0NwNFvChjWe6VraHWHrHkz+xTJVkrMLjQ5ZH2l2ptVGTrhSf8x0ilPkyT3IxmgCcVDaBJCHN7QrmMFyDM9wIWdIww= X-Gm-Message-State: AOJu0Yy8XSYkNm12HwMeod2LTr64cx3BwpfMZkuXTzBymV92/Z7IGakH CAv6y6YhndS2ssY9zXBOK9OyAe/37YEhudd9JFyqHslu6ZkHfGAS2aFKQgLLrtILBG264INEVxx qh50= 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 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Bot: notify 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(-)