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 03BD6C77B61 for ; Fri, 28 Apr 2023 09:27:15 +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 EC1B81292; Fri, 28 Apr 2023 11:26:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EC1B81292 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1682674033; bh=RjYii7iihqguypeV1/iY1TQkHAdp6XDv/UaH1BOM0kU=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QxESiqPWFE53YeY49IWL1zqwarr77ZAuqs+SWiH6jyoRRuspSPhCsAhSZttMJEAE8 s5orL6EpDy19IbJ5+yNac9b6+yEbzKp4ivgDo590878YiEuGfbmnsvImgx4Qvu3dCd 6149OdI7Mf1q7MR3WCFRUoshaNlVq3ra1EBQWFCY= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 24BAAF8025E; Fri, 28 Apr 2023 11:25:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2965AF8025E; Fri, 28 Apr 2023 11:25:51 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 54A8AF80137 for ; Fri, 28 Apr 2023 11:25:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 54A8AF80137 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1TKv+usu; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Gy7/UKdp Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0305321ED0; Fri, 28 Apr 2023 09:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682673944; 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=5d6m9Bv5zVDYlpTvnDfz00mw5PZuWF8gfyo4Z6OqO+4=; b=1TKv+usujy5pwtP8e7PdKOeljK9mj9eGrntlp4ukySfUe5mrlrklJ4yzNBf4gbD2ZqB1Hn C1+rnOaEICT2aL4RJ+5xOrLkfgFPORH2LpllQBcHNffGjcInoQMqqTDOp2fWJVLLpyg3xx tHmbJsRg+U3R5TBJ5uAjyycXNoHtn2c= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682673944; 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=5d6m9Bv5zVDYlpTvnDfz00mw5PZuWF8gfyo4Z6OqO+4=; b=Gy7/UKdpjQm208WpHJvE18bHwxf2BjZj6PXt91pEBSf9EhLhI4OCOUQnw6Z2Yqn6Y3NnAP cOUuqbuEDOLo5pAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D608F138FA; Fri, 28 Apr 2023 09:25:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gtpRMxeRS2SRFgAAMHmgww (envelope-from ); Fri, 28 Apr 2023 09:25:43 +0000 Date: Fri, 28 Apr 2023 11:25:43 +0200 Message-ID: <871qk4s6i0.wl-tiwai@suse.de> From: Takashi Iwai To: Oswald Buddenhagen Subject: Re: [PATCH RESEND] ALSA: emu10k1: use more existing defines instead of open-coded numbers In-Reply-To: <20230428080732.1697695-1-oswald.buddenhagen@gmx.de> References: <20230428080732.1697695-1-oswald.buddenhagen@gmx.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: ARE5T4QQ42YWTCAUXXUJVR4KMVK3LEUH X-Message-ID-Hash: ARE5T4QQ42YWTCAUXXUJVR4KMVK3LEUH X-MailFrom: tiwai@suse.de 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 CC: alsa-devel@alsa-project.org 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: On Fri, 28 Apr 2023 10:07:32 +0200, Oswald Buddenhagen wrote: > > Using the *_MASK defines for "maximal value" is debatable. I got the > idea from FreeBSD, and it sorta makes sense to me. > > Some hunks look a bit incomplete, because code that is going to be > subsequently removed is not touched here. > > Signed-off-by: Oswald Buddenhagen > --- > this failed to build previously due to a missed logical dependency on > the "use high-level I/O functions also during init" patch. that patch > was applied meanwhile, so it's now safe to apply this one as well. Thanks, applied now. Takashi