Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3618206pxb; Mon, 24 Jan 2022 13:38:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYeXErAGLTO4g97Zx10PkZVfJbfUPrbZ2867vG5uJKWBEWrGfrfxufxa5ywj5AIiXJVc43 X-Received: by 2002:a17:902:8ec6:b0:14a:c625:eb2d with SMTP id x6-20020a1709028ec600b0014ac625eb2dmr16095524plo.26.1643060295019; Mon, 24 Jan 2022 13:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643060295; cv=none; d=google.com; s=arc-20160816; b=qZKXazZtA+TfLfifo5W/Uul5UOSmvmnLfxqSxw1d1Skbh+9L288s+oEyk+fl3hTUvf RwOQX5yQ0NEvT8QAtZBiq76RJOlt5/xOkgdxS+nugYoxqC/fRcVjZfqdLtmrO2aQON06 eigU3AFncnO1wzFtnzwfAnPjHCMFZDBMw7A7dS9YfOgG/MJxzHKlOlpYSfDtak8nBwtq s8G3yT4VDd6PSrzU99Hk8q6H030BCVa2DBM2k8S1UMRee44hQaIx1QRsFWJ+NJ7rtiVL bzwCqLa8o2ybjt3XHWV4ZY0v+CqhNDSf6iQ58CznMYvW+/i6nMzc8/cBxu06zFCmcdTD q6Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Y97K3AsowNjIVnEhQDf88ZvUQWLFoO9Yocw0IdEuEmc=; b=UnBsXEtzpG1sf91pO1/uN9oIIK3/sAJqmvPJEBnn9kQ89n0IuafA32LWGhZrAakbJV H4O/aZZWszi5pc2BwaqMZzUyAAoYnsErxn8ugYzIwVnpZo7W/lIAKMCXEzSy6hZqXoA8 b9YLn0OXmJ/mip7Au/3fGQcpYfVOHZYhxmnFHMrEtNGZzgYAv09cCRE8M3CMCQMkG/RE ctDR9zyKKBL7FqvE2n3cp55UUc2n+iWzNL6exH3sHiZtEjW1znqxuwysnqygDal3MO0a G1kkW6d6cN+Sr+fpyjoLdrixeNIYXrd3JnIHut8YHlDYUhjZ/nj+iKV8Ek9J8XYgT+ma 8M3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Eba9sTTy; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o10si17348788pgu.470.2022.01.24.13.38.03; Mon, 24 Jan 2022 13:38:15 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=Eba9sTTy; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1449413AbiAXVPc (ORCPT + 99 others); Mon, 24 Jan 2022 16:15:32 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:47750 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391504AbiAXUsC (ORCPT ); Mon, 24 Jan 2022 15:48:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D2F3EB81233; Mon, 24 Jan 2022 20:48:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 331E2C340E5; Mon, 24 Jan 2022 20:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057279; bh=j8QhFAcoP5YnbewakrrigomulAjYONylTaD5Y1/NRwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eba9sTTyukCyzJbaU2YLo2CaDDZgZsTvPENi0+9hPxHL6YuCUIFmrQn1tQtyC2eyl jRpyzsa4pt6CkOPxbbJmdlL/Pje+q+orHpllS1mJC0VqyInRGJEHIjZa4goHZv4XES E0lxe+ywNPSC0I27hHzLdi47B9MYKeQoVwYgfsS8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Amelie Delaunay , Vinod Koul Subject: [PATCH 5.15 753/846] dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK Date: Mon, 24 Jan 2022 19:44:30 +0100 Message-Id: <20220124184126.948305234@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Amelie Delaunay commit e7f110889a87307fb0fed408a5dee1707796ca04 upstream. This patch fixes STM32_MDMA_CTBR_TSEL_MASK, which is [5:0], not [7:0]. Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Signed-off-by: Amelie Delaunay Link: https://lore.kernel.org/r/20211220165827.1238097-1-amelie.delaunay@foss.st.com Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/dma/stm32-mdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/dma/stm32-mdma.c +++ b/drivers/dma/stm32-mdma.c @@ -184,7 +184,7 @@ #define STM32_MDMA_CTBR(x) (0x68 + 0x40 * (x)) #define STM32_MDMA_CTBR_DBUS BIT(17) #define STM32_MDMA_CTBR_SBUS BIT(16) -#define STM32_MDMA_CTBR_TSEL_MASK GENMASK(7, 0) +#define STM32_MDMA_CTBR_TSEL_MASK GENMASK(5, 0) #define STM32_MDMA_CTBR_TSEL(n) STM32_MDMA_SET(n, \ STM32_MDMA_CTBR_TSEL_MASK)