Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3730623pxb; Mon, 24 Jan 2022 16:34:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDfmV13ASj/LtAwYQQScI8uy2VXBeJBfycoetlxwGawqTIQ540oe+8Wn85sVpkXS4gckVl X-Received: by 2002:aa7:9098:0:b0:4bd:65b5:fcf3 with SMTP id i24-20020aa79098000000b004bd65b5fcf3mr15995808pfa.72.1643070840719; Mon, 24 Jan 2022 16:34:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643070840; cv=none; d=google.com; s=arc-20160816; b=G/ttbWkSol6bEhdG7ZATMlR5/Y4UuaM4+Wvmd/78NfizpE7yY25Hi//I3xkOJTpSW+ rkSq6wB8vtmYWb4+7ZJXF+H7iE5o7WwLSU3mkf3TWMlt0GE3KVt3jeGzYnBN/sRI8NMk 32K8kjffu4H26Q+ATbMwdJgxDCbRmDOjEwI8vkYLoxdyxm95FObNuIMox2EhEJSEyomp qDEr4WXuyUmXkyTOcv1WIsmSBiMgQTP2rnRYSt2ui8M699tlo0WYCYE2w2dZKDu1OAHj pHkjJCaRStOjHalk6L3lQ+2OZvzr547wiLCs5jqTpg/IOFAgDKzo0mliE1Lqe5pxNcFg ItKQ== 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=DEsaxRTLQz1rLzF+H6WQKt7+kLX30kPNGvRYh58fYFe897s7JwnxDflIWLWOQMx8Vl dtTjwkaWGn1G2YGefkKKgGN8Waixk3fpFIJvCCl4ejCDEpiQt6v3sI3dhi/ldb2sUXAC UfhafSgBE+l+ObmRNMQRXMQja3kc/EjEjyVZEcpE1IW1Raulb2ac3WBuGTiT5wIxgYRK ivph+7TGxo/IQUYuONnO/ZYvm7vf+StCi/3xMjZKaPZc+RFB9V7FpzLbsFxa3HqH/2W5 83sgftSIKLB3Kg/WM3SocKnT0FfCmtgkA+Pr8n/8SVWtyjIzKhDpF/SeoFyM4FuHRh9s fMqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=a0P73G64; 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 gi2si707199pjb.50.2022.01.24.16.33.48; Mon, 24 Jan 2022 16:34:00 -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=a0P73G64; 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 S1573266AbiAYAaB (ORCPT + 99 others); Mon, 24 Jan 2022 19:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2363529AbiAXXop (ORCPT ); Mon, 24 Jan 2022 18:44:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBB5BC05A1AF; Mon, 24 Jan 2022 13:39:36 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 8BE1061028; Mon, 24 Jan 2022 21:39:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B6B0C340E4; Mon, 24 Jan 2022 21:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060376; bh=j8QhFAcoP5YnbewakrrigomulAjYONylTaD5Y1/NRwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a0P73G64fNbBi4o+BdjZ2itpM5/ahKOhX+msnVvqgwj/QHQzjT+GJCP6o6EE4VMTm xPJvJsDikfPDMT+FkbBrlDECg1fnpTcwow+FAc7k+PeO4yUhRILex8gwNtJVUgk5oH vLRHWWCKx1a44utKM7IBJ0lE09usuaoovSWAjhAs= 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.16 0927/1039] dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK Date: Mon, 24 Jan 2022 19:45:16 +0100 Message-Id: <20220124184156.449877135@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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)