Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1542221lqe; Mon, 8 Apr 2024 11:56:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXoenrCq/rE/EwNg1VVms2GxJUmk3Jke9nVlAfivlceRGGiFEOEXxS2YgBghOiGEHkva9fXggpCSWbn4A7sNVhVyTOmnVIXJEX3LJc75w== X-Google-Smtp-Source: AGHT+IFk/slPGErN2g3LOndonV381m/lnWdoiN9mV5TJPXgSKTUyg7lCXHJuqcrFSLFQsiE/U1zP X-Received: by 2002:ac2:4285:0:b0:516:9f20:9838 with SMTP id m5-20020ac24285000000b005169f209838mr6421135lfh.19.1712602576706; Mon, 08 Apr 2024 11:56:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712602576; cv=pass; d=google.com; s=arc-20160816; b=mCJMLgqX2XR46d7C/3fSZaPnTlmNo3yinEYK9F7MRwqkqJTjw2QfohHBRIxQO8Qj2R s07t2CLPeaECl2xZ3oe5qaWRmhF0YQHqKuw7qwWNNmAL1XFZ5I5NiT83DN65uI41YX20 KFiWFqtW7uInvSaGuFlwAu+GVsFqSDRDEVF+z0+dNnWTxhjjm2aUE5vwpTN6X2/0jQ/8 nhLbq7K6TUiS8i6e4AUpjYtrKInLw+XLYZPv7K+t5IUbmhVi5OyNGQCYuCj4FFkJc6y0 PzhG2cC6tBZGGgUdZtQFOzWoAUG/80zRp6xmxdVTPk5ppol3sED6xUf7nTgGaUD/rPls xRvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TMo7hiiQrVTDc0BV+IMWpXsuoUteQtOY5Rhz4FQQMM4=; fh=qNIs71mYj3UnKVIF0vr4HeIsRExssgno8YAfa7d1k6w=; b=dyKmBdVoP3KbhMWIg11vFdVPE32jwevJZSyhQZCmXcLuJfdP2LRilOmfsUgfT08zJo PAaG08cEfUmo0bBjhXDmLDu4FXz7cFW0+9836SCiJpYvHNkl68c/taJ4pz9iJ1La0dfh H61b2JEhZsRO/rcuwLD+1dgqTjY/mXHm4HI1A2bEZ1l+7exD9wJYLARjJMpfxeOITZsh TZdiMY7v+FU+eAI6X7shXQxdkYwct+jWnkgIz0zoaYIwopZNm0j7yswv+qoHGGhQa+SZ MfRp7Ke3LAPrZF9AJMp3m+aTkSt+tHgyDPuc66/gfcXQZo41cPaew8C2w5Owo5q7FWdL Hicg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RhNQ54mo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc7-20020a170906c7c700b00a47503563c2si3882905ejb.294.2024.04.08.11.56.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 11:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RhNQ54mo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 149FD1F22B56 for ; Mon, 8 Apr 2024 18:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FB98146A8B; Mon, 8 Apr 2024 18:55:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RhNQ54mo" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53CCD14601F; Mon, 8 Apr 2024 18:55:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712602524; cv=none; b=Td5fJCFblRaA9ftT0PSfgkOINMYNCXCNl7k+qEoQevsSrxrokfLwdD+xyWbwcb3Lc882jolqKD2y/H0GdDgeiBYZ4QVdPIYYDVJ7e2gO69vv8+dKSXpM9KyT3ZwwCTEEI88VUI8p1S5d2Nmx5J+xHe1BnqgFZFBXZBdwQgk/jvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712602524; c=relaxed/simple; bh=WZI+UPEDXKp0AGVon/G5dC3J9SoMCzRad9Ln6loXDDc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rvATP8OlPp3TqvK+hhrL4e7Te4dK6cmxzk9GzO3fXcqSmqGgoEiklMnPf2u7I4L16dx3YMd9txNGmTC9mj/S1mIQj03a0yKbSjIUh+ixCw00HdjozwtkhFZPi1UT6G/QlSVhPddSYJxKICMpB6yCIiDJ/z8d1dwN/G6XOkcnGUE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RhNQ54mo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73412C43142; Mon, 8 Apr 2024 18:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712602523; bh=WZI+UPEDXKp0AGVon/G5dC3J9SoMCzRad9Ln6loXDDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RhNQ54moQZojEdG9F2dwxx5Fj/5G+xI1NEfku+X5s7NrIxMeVWLg5uo9tZZMmbIjY gYoOYnEE+MlAzD820ldnRyIliImxOraEiLVEmChssnmX64QRIt2wImmnpUuF3SGH1J EBQMsqnD5Cz7CFi680qKwbkDKbUqvZY/M5o9ekREt4QB20zTkqywcTiUfsXCcsQBm0 uW4YLbgr2QkjMGuMrg2fpFAOH5+lmrdL1U1k8FOxc6EimtlxeexrpdFxMbr1/qXHwD hcO5dlODNHLsSb0ihBA9LEtLI/4PDnN7k3l1JVnoxcKsnBu16K9nhnsiVOQcD9yiWf vSRbo+JMkzhmQ== From: Namhyung Kim To: Arnaldo Carvalho de Melo , Ian Rogers , Kan Liang Cc: Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org Subject: [PATCH 4/9] tools/include: Sync uapi/sound/asound.h with the kernel sources Date: Mon, 8 Apr 2024 11:55:15 -0700 Message-ID: <20240408185520.1550865-5-namhyung@kernel.org> X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog In-Reply-To: <20240408185520.1550865-1-namhyung@kernel.org> References: <20240408185520.1550865-1-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To pick up the changes from: 85df6b5a6658 ("ALSA: pcm: clarify and fix default msbits value for all formats") This should be used to beautify sound syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: linux-sound@vger.kernel.org Signed-off-by: Namhyung Kim --- tools/include/uapi/sound/asound.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/include/uapi/sound/asound.h b/tools/include/uapi/sound/asound.h index d5b9cfbd9cea..628d46a0da92 100644 --- a/tools/include/uapi/sound/asound.h +++ b/tools/include/uapi/sound/asound.h @@ -142,7 +142,7 @@ struct snd_hwdep_dsp_image { * * *****************************************************************************/ -#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 16) +#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 17) typedef unsigned long snd_pcm_uframes_t; typedef signed long snd_pcm_sframes_t; @@ -416,7 +416,7 @@ struct snd_pcm_hw_params { unsigned int rmask; /* W: requested masks */ unsigned int cmask; /* R: changed masks */ unsigned int info; /* R: Info flags for returned setup */ - unsigned int msbits; /* R: used most significant bits */ + unsigned int msbits; /* R: used most significant bits (in sample bit-width) */ unsigned int rate_num; /* R: rate numerator */ unsigned int rate_den; /* R: rate denominator */ snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ -- 2.44.0.478.gd926399ef9-goog