From patchwork Tue Sep 19 11:14:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Opdenacker X-Patchwork-Id: 13391256 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 F3DB4CD54AF for ; Tue, 19 Sep 2023 11:16:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C6B00E0E; Tue, 19 Sep 2023 13:15:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C6B00E0E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695122205; bh=/Epznwospd2bV4wBxS4jo1rlDydK97jIGLrK3lUh2a4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=DGRtkIIjDPoX9y+e9UOeL03y8HYv8ezqlMB5knBNyWQ69NDho28+0Usjmp5oUjNYZ w1OdnWwBskcRY1zNvS3mxu5Lu4R8/rZLdoYj4r3eFJZVeEzh3hnIwJtqj0HyP7bT5T rmctsAXrtATTLTQFfRW1esFAkV0lpRrmuVb+uiiM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 40C71F80567; Tue, 19 Sep 2023 13:15:06 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C2A73F8056F; Tue, 19 Sep 2023 13:15:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D8142F800F4; Tue, 19 Sep 2023 13:15:00 +0200 (CEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 10B12F800F4 for ; Tue, 19 Sep 2023 13:14:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 10B12F800F4 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=HORNzw6l Received: by mail.gandi.net (Postfix) with ESMTPSA id CB53AC0002; Tue, 19 Sep 2023 11:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1695122097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xcJ5qTkUsGyUYuUEqs/IjcCp46UKLGP6e0znI032Doo=; b=HORNzw6lpAiHBXs3j4eI0uBBoblJEJamSK9dgF5IlOf7BWhXbqnGVYEUNLxQ1bjUjRXqsR fb20mBvKvniyOp1ZcWfrYQPeMFo+EuxRaft98svYIz9oWnCBSMuQuzZxWMRKzK+fPrnNP7 s/e9En3enni+4xQ7oKVV7I7qfWHpXywh3KrBThyomhnOp9QEUf3BV7eGGf+79/dbywBrOt oJEArUQSnNy1CKEuSXsiRXon0BF99JuTiF/Q5Q4CikGG0/BTmUtppZ8T6z1U+mUcY3vUQc k1FGvjc8RLEbX+fMzgtfGR8rLEJO9KYDRbecEqW0kMHwML82ljAqrwfPRTiKJA== From: michael.opdenacker@bootlin.com To: alsa-devel@alsa-project.org Cc: Michael Opdenacker Subject: [PATCH 1/2] topology.c: include locale.h Date: Tue, 19 Sep 2023 13:14:29 +0200 Message-Id: <20230919111430.2912326-2-michael.opdenacker@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230919111430.2912326-1-michael.opdenacker@bootlin.com> References: <20230919111430.2912326-1-michael.opdenacker@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: michael.opdenacker@bootlin.com Message-ID-Hash: Z7I4YVHMJZ73EMR5SNQW7TZKL2QHRSRD X-Message-ID-Hash: Z7I4YVHMJZ73EMR5SNQW7TZKL2QHRSRD X-MailFrom: michael.opdenacker@bootlin.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michael Opdenacker This solves an issue compiling with the musl libc. Fixes: #239 Signed-off-by: Michael Opdenacker --- topology/topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/topology/topology.c b/topology/topology.c index 1840ffe..5d03a8b 100644 --- a/topology/topology.c +++ b/topology/topology.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include From patchwork Tue Sep 19 11:14:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Opdenacker X-Patchwork-Id: 13391257 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 6BED4CD54AF for ; Tue, 19 Sep 2023 11:16:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id ABC4CDF2; Tue, 19 Sep 2023 13:16:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz ABC4CDF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695122213; bh=6vGvuq3edWFvEIYnGi7DfD2ZuPSLCKvONauykgWN11g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=NeTNOZnP8oudRyhkttKH5PNStbmsDUAul/QJ6ow+ThiAD8S2VzF5f4u4R0Es+VKHB uPfq0eiih9AQ2VOX96IL9RbsC9uzCTbZhAnfT7RsGaf6Mof0LWQJWKGHtucWJpMcwr DmAixMCRymqln9KrC6k8pKePNq3KD0O26idIc2u4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3C44F80564; Tue, 19 Sep 2023 13:15:07 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 52EF1F80579; Tue, 19 Sep 2023 13:15:07 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1BDABF801F5; Tue, 19 Sep 2023 13:15:01 +0200 (CEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D4C1DF8025A for ; Tue, 19 Sep 2023 13:14:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D4C1DF8025A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=e2NZjuh2 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2DB421BF20D; Tue, 19 Sep 2023 11:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1695122098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vn1OYxPJZmugDdmcYTUvoJzdJtA9Bic0H2R9QcpxV5s=; b=e2NZjuh2CgKlERh+LtY7CoY6i5y8zQZKPMCUxXjaAhgXXCELN1ao5SZZLu1OUJweIoPXyz PbmImCQmlYa0+mEyNP1MVWaDCpY64BjPnJDhWfMnNCuEvqr5TM3WgsdPKL/t3jIZ7YR0C1 M1nnwtiOaRzn0zZZI/XnRHHQeJV6DSWzAin2iNL/Njzpb3rVKiFT8IGEbe6ZrFx77XiwA5 u+PJVnFWzZ8fODLHty0tLNhsrpUD8GVfmM0bp/jzqVySklQbxNVpBlWi7+Fsn1bcy+lznU SFWYoEhbopoD7yHm08X+IwCQqtHIi+xxBtWIKz2KcNdLqGxHE3wyXhaj9hpp4g== From: michael.opdenacker@bootlin.com To: alsa-devel@alsa-project.org Cc: Michael Opdenacker Subject: [PATCH 2/2] nhlt-dmic-info.c: include sys/types.h Date: Tue, 19 Sep 2023 13:14:30 +0200 Message-Id: <20230919111430.2912326-3-michael.opdenacker@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230919111430.2912326-1-michael.opdenacker@bootlin.com> References: <20230919111430.2912326-1-michael.opdenacker@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: michael.opdenacker@bootlin.com Message-ID-Hash: PEG6WRW5XHPZARSWZRZT2KSYSLGMP7NY X-Message-ID-Hash: PEG6WRW5XHPZARSWZRZT2KSYSLGMP7NY X-MailFrom: michael.opdenacker@bootlin.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michael Opdenacker This fixes an issue compiling with the musl libc. Fixes: #238 Signed-off-by: Michael Opdenacker --- nhlt/nhlt-dmic-info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c index 3f6c64d..331555a 100644 --- a/nhlt/nhlt-dmic-info.c +++ b/nhlt/nhlt-dmic-info.c @@ -33,6 +33,7 @@ #include #include #include +#include #include int debug = 0;