Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1420DC4338F for ; Fri, 30 Jul 2021 18:21:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E1AB360C40 for ; Fri, 30 Jul 2021 18:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbhG3SVF (ORCPT ); Fri, 30 Jul 2021 14:21:05 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:58998 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbhG3SVE (ORCPT ); Fri, 30 Jul 2021 14:21:04 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 0477E1FE1A; Fri, 30 Jul 2021 18:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1627669259; 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=8gm5/hy1GrGnwuqRxtbN+uzT3z75lnxlad024nIFP1A=; b=14dUCwDRgc1TBPH1v/vn3Kp5sc9enQj0qCb3urJQENHyarshBWQx0Z2MKuDdWfKiNluVSl LWMaBT/WaDTKl6RzlWdQzITMInNE389H4Ka8bi1dMSZ8YJHtKEP7u2OL9/E3hTmfDOEwVy 1dbutQsDyrnwu4tmHFpej2e6vCVwd24= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1627669259; 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=8gm5/hy1GrGnwuqRxtbN+uzT3z75lnxlad024nIFP1A=; b=x7StZRyroq32GicunDmBRMhloplvltOOk0RACvB+SYQwzfE/5ruV5a1CwLXh7AxlqekSps jttLNsQIxbjqIpBA== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id E8426A3B87; Fri, 30 Jul 2021 18:20:58 +0000 (UTC) Date: Fri, 30 Jul 2021 20:20:58 +0200 Message-ID: From: Takashi Iwai To: Jaroslav Kysela Cc: ALSA development , stable@vger.kernel.org Subject: Re: [PATCH] ALSA: pcm - fix mmap capability check for the snd-dummy driver In-Reply-To: <20210730090254.612478-1-perex@perex.cz> References: <20210730090254.612478-1-perex@perex.cz> 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: stable@vger.kernel.org On Fri, 30 Jul 2021 11:02:54 +0200, Jaroslav Kysela wrote: > > The snd-dummy driver (fake_buffer configuration) uses the ops->page > callback for the mmap operations. Allow mmap for this case, too. > > Cc: > Fixes: c4824ae7db41 ("ALSA: pcm: Fix mmap capability check") > Signed-off-by: Jaroslav Kysela Applied, thanks. Takashi