Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1624171pxb; Wed, 2 Feb 2022 08:55:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyX01PA3AvWx+bl6FOF/Kc3F+ZZ6lT6PIQCng7KsiaKn5310T2e90U7FcDL3JZW3HquNWO2 X-Received: by 2002:a05:6a00:23d3:: with SMTP id g19mr30208725pfc.27.1643820929191; Wed, 02 Feb 2022 08:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643820929; cv=none; d=google.com; s=arc-20160816; b=0wQCUTNYq9CnqX8Be7xP1W2lYkBxreQ1SdGN9rvIPlDc27DsKyR/Wh4qP3A4cDoNWo LZtWuYX4/OS1BRXvR+ACbIfDVrW7rdmLhRNs9KnfApNbO1cjJM0sgyBHm2rjbks0rkf1 +zqnk0K/g/oHKYCC2CAX6SJ3WfhQV763EJnwkwa8OeiT21BKw47pxhPoP4SN61gOa67B VLDK45a+LI2KlHXwO7hjUtrHOGfQqU/Ev76rR9MnlKSjFrB2cjIGhN+fMSsYqpr9u/2T HHcXzGghqx67ujaoA4yGkxxWlSRV9qe8E6t25IzeyZVgNQnKmcnKlEOGAj6gKefJ5ct6 HBow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=C2pCrfmflB3CzlOnQp3+cEjQhld6V5JXc/sVQFZlOyo=; b=Q9PCVf+RWNyi7pKg+WwNS53I7V3yrRmZvtZD+BHZJSdNaa7uiq5HTpjf8Dp16rNLh7 31orp1+tLT2dg3v0gsa5ZzISiJvCqazFzanhn4aY7qrTtcQfs6oRH+qakoE6bwTsaInk JV1a2P+kROpcd7lKFYOdwms3K5i1ogv/h5oHeCiLICEy5j+FDrvgSsPQBp4MRcYXVNym l9gbh8EoqgZzPcRm8bZeWz/bKLSyeMCcOjkWnA3Zvkg2x5toVq66gbKdCmJTq2T0H5i0 qM895PR7Ad8bScyUPC5Zx8utkqxtrqgTw6dbeuW0vo3/bRHVuMGLG3n3S5REU83NlLVN QIUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JAGTqn0Y; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=paMEEug6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q70si19670812pgq.226.2022.02.02.08.55.16; Wed, 02 Feb 2022 08:55:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JAGTqn0Y; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=paMEEug6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245614AbiBBKfl (ORCPT + 99 others); Wed, 2 Feb 2022 05:35:41 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:36448 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343570AbiBBKfe (ORCPT ); Wed, 2 Feb 2022 05:35:34 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6D8171F397; Wed, 2 Feb 2022 10:35:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643798133; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C2pCrfmflB3CzlOnQp3+cEjQhld6V5JXc/sVQFZlOyo=; b=JAGTqn0YwPNrhQZtBF0ZGRzg6NxGlaMzWnwv3ZfwojARt6FzhC4b3AHl74axVgXT2gvTGG rJWx+hyQFTDZh3Y0Cvl97ndeg1pAUc1ZfMFXAc3RGIc9oIhLeCOLw10RrgyfLUpIufgVxT CZZp6HtxsNq2Pz/x2VIHxFlYVuwapwY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643798133; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C2pCrfmflB3CzlOnQp3+cEjQhld6V5JXc/sVQFZlOyo=; b=paMEEug6h9dXdXqNOI6eIXWlI9COMbUjK5LFZkpH4+FQhdejS10PbmYrBGScSvvS6wO01Y Uy7b+o0D9BJl/SDA== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 404A4A3B88; Wed, 2 Feb 2022 10:35:33 +0000 (UTC) Date: Wed, 02 Feb 2022 11:35:33 +0100 Message-ID: From: Takashi Iwai To: Arnaldo Carvalho de Melo Cc: Takashi Iwai , Mark Brown , Pierre-Louis Bossart , Takashi Sakamoto , Linux Kernel Mailing List Subject: Re: [PATCH 1/1 fyi] tools include UAPI: Sync sound/asound.h copy with the kernel sources In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 01 Feb 2022 16:12:18 +0100, Arnaldo Carvalho de Melo wrote: > > Picking the changes from: > > 55b71f6c29f2a78a ("ALSA: uapi: use C90 comment style instead of C99 style") > fb6723daf89083a0 ("ALSA: pcm: comment about relation between msbits hw parameter and [S|U]32 formats") > b456abe63f60ad93 ("ALSA: pcm: introduce INFO_NO_REWINDS flag") > 5aec579e08e4f2be ("ALSA: uapi: Fix a C++ style comment in asound.h") > > Which entails no changes in the tooling side as it doesn't introduce new > SNDRV_PCM_IOCTL_ ioctls. > > To silence this perf tools build warning: > > Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h' differs from latest version at 'include/uapi/sound/asound.h' > diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h > > Cc: Mark Brown > Cc: Pierre-Louis Bossart > Cc: Takashi Iwai > Cc: Takashi Sakamoto > Signed-off-by: Arnaldo Carvalho de Melo Thanks for the patch. Shall I merge this through sound git tree or was already merged in somewhere else? Takashi > --- > tools/include/uapi/sound/asound.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/tools/include/uapi/sound/asound.h b/tools/include/uapi/sound/asound.h > index 5fbb79e30819af91..ef0cafe295b28253 100644 > --- a/tools/include/uapi/sound/asound.h > +++ b/tools/include/uapi/sound/asound.h > @@ -202,6 +202,11 @@ typedef int __bitwise snd_pcm_format_t; > #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */ > #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */ > #define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */ > +/* > + * For S32/U32 formats, 'msbits' hardware parameter is often used to deliver information about the > + * available bit count in most significant bit. It's for the case of so-called 'left-justified' or > + * `right-padding` sample which has less width than 32 bit. > + */ > #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10) > #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11) > #define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12) > @@ -300,7 +305,7 @@ typedef int __bitwise snd_pcm_subformat_t; > #define SNDRV_PCM_INFO_HAS_LINK_ESTIMATED_ATIME 0x04000000 /* report estimated link audio time */ > #define SNDRV_PCM_INFO_HAS_LINK_SYNCHRONIZED_ATIME 0x08000000 /* report synchronized audio/system time */ > #define SNDRV_PCM_INFO_EXPLICIT_SYNC 0x10000000 /* needs explicit sync of pointers and data */ > - > +#define SNDRV_PCM_INFO_NO_REWINDS 0x20000000 /* hardware can only support monotonic changes of appl_ptr */ > #define SNDRV_PCM_INFO_DRAIN_TRIGGER 0x40000000 /* internal kernel flag - trigger in drain */ > #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */ > > -- > 2.34.1 >