Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp454442pxb; Thu, 9 Sep 2021 04:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGjYl+FQPuOPHRWIeJBcRurksOgl1MIoZhze6Lo08/J13aDH615txiMr/pvo3Lm1nN158/ X-Received: by 2002:a17:907:990d:: with SMTP id ka13mr3017624ejc.392.1631188781308; Thu, 09 Sep 2021 04:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188781; cv=none; d=google.com; s=arc-20160816; b=P/+LMLkjbUx40tgpKiDIDveMTGuuIqi7NUg/Ka/YNQ4yOgEFCGEr9JDz5XrMnjOe39 KWoPU0QvcPIwI3vv3BtGTIayLw4YdKMjDivT783jpZH8fxZsEFXiqYman4ZOt7KmpP0i p+9EFCONDLpuSBPVVUnTE8I4y0lcTSak4rC7U1TgdJCzPLb1Wpy05iJxnJzvHeUAn8aK 6wWsesIFV2fe6J2GdDzkEOrO8bB+dWqOLtwYS8ptgsavPs5/jgKLtHfFyKEtpT2tuzOl Zlgzu8fT/Da6cHAzV88oBKEqiJQANyrqGp+E9GO/IDBst0Uuum8uskicD126zCjML/VV VW6A== 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=UCQLO2IbVqctc2BGQv11qcnpDIpuIqJg85PCOnX6wUg=; b=Jqkgsg1TQ3Xi/K7F5gDSnzwvFGimjaH3vbZ9DbO1G+M+YvI2yVIizd8tJyJ3H9vRCU EISmaplL4vCBVnUGnokFBsY1GgSaWlqK0MpPisolWBv6E4j0MEE30dze+lGslai8fxqf P4vEpTp95JDYrDzE2dq/Yxz97powa8ZhSDjOMQZRLqIkmER97BNU+z3F/8HyAmrYab0F yv33uvUFQlA2JnKI1ImSSGJleexrcUpEzTcPByBfc26gSjLEk78jEBbgo+/j7tkJQ9aq oOsdeSdKVY27viZMWxw/HuZbVUJ4nQAyY0vWHmxl6CR8Bbw4KWmPMJKqKu3bDZRJOK8K UazA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oxJTIny4; dkim=neutral (no key) header.i=@suse.de header.b=AQX0+8SS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg30si1517115ejc.709.2021.09.09.04.59.16; Thu, 09 Sep 2021 04:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oxJTIny4; dkim=neutral (no key) header.i=@suse.de header.b=AQX0+8SS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S243501AbhIIL4u (ORCPT + 99 others); Thu, 9 Sep 2021 07:56:50 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:33768 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241491AbhIILyQ (ORCPT ); Thu, 9 Sep 2021 07:54:16 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 9F62622376; Thu, 9 Sep 2021 11:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631188382; 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=UCQLO2IbVqctc2BGQv11qcnpDIpuIqJg85PCOnX6wUg=; b=oxJTIny45fDt3iBjfRCgl/yDttmXQULX4CmEFzHFZDkWaVOYbPZLoOzGmeuxYY/gIgY6EA n5zzahWr8yq3JehltwZ14q4yneL8MERcUjVvZRIrxM8rQS9L09hc+nzEnDbZ67v4j1h8vE Qt3ExHsY3REBRJcZEsrmRAjj5VsuPbI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631188382; 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=UCQLO2IbVqctc2BGQv11qcnpDIpuIqJg85PCOnX6wUg=; b=AQX0+8SSlp6R1LGwRxmoHhe4BAuo/8QXlfDBI5m7ELZULKzE7wKCswr9FjixHxIPCEizz2 CzWfjuZ1yE3t9tCw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 96142A3D1F; Thu, 9 Sep 2021 11:53:02 +0000 (UTC) Date: Thu, 09 Sep 2021 13:53:02 +0200 Message-ID: From: Takashi Iwai To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH AUTOSEL 5.14 132/252] ALSA: pci: cs46xx: Fix set up buffer type properly In-Reply-To: <20210909114106.141462-132-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> <20210909114106.141462-132-sashal@kernel.org> 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 Thu, 09 Sep 2021 13:39:06 +0200, Sasha Levin wrote: > > From: Takashi Iwai > > [ Upstream commit 4d9e9153f1c64d91a125c6967bc0bfb0bb653ea0 ] > > CS46xx driver switches the buffer depending on the number of periods, > and in some cases it switches to the own buffer without updating the > buffer type properly. This may cause a problem with the mmap on > exotic architectures that require the own mmap call for the coherent > DMA buffer. > > This patch addresses the potential breakage by replacing the buffer > setup with the proper macro. It also simplifies the source code, > too. > > Link: https://lore.kernel.org/r/20210809071829.22238-4-tiwai@suse.de > Signed-off-by: Takashi Iwai > Signed-off-by: Sasha Levin This change is superfluous for 5.14. Please drop. thanks, Takashi