Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3590118pxb; Mon, 24 Jan 2022 12:59:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxw6F1AZO4QlqM/SlJvHw1FOwVaMgAZZ6UamD5MIX6IVXY8+SaC5pHv6WTr75QeHfHTK6E X-Received: by 2002:a17:902:dacf:b0:14b:2225:2f06 with SMTP id q15-20020a170902dacf00b0014b22252f06mr13767375plx.123.1643057978956; Mon, 24 Jan 2022 12:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643057978; cv=none; d=google.com; s=arc-20160816; b=VGrvJMRSUILGhATcCVjQNsmJgAMYjEyJCoXfceqUrDuV7phUO2iPq6yPTSd9BH5E8t uIoK/ByWQ3QasBdCNQuK3OV3s4dEpOrmj/LvepSX+1qxk7nVOpzu5ssNMsr/uRQtjNyu JBFO+9DebVYvGRK9vY5dbaBwKkLBhKvYjzIusAWSLSOwRJGgMX9CgHz6trnUKk+LXv0J 3e+9W0F+XakzRzw7/Q6O7L0PpiC0Mm2hszrsMWJ2gIbKgBSGhEyfHJi9bCpu9jiuiVns T52cugLnQfz+oYAYHpMBhjnjVZ5EkApXFazwfAY9yEvk2NOesRMw1IakFaGhvXNTsaEn 9jfQ== 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=INyhcE05XD60fQgFFhgTs3+48v7nedmrEGK9zhHm1oc=; b=SQVkHtr/Ue/TF54QsSmbKkbOENdJ40b4Krg+kS9X+PXg5Lq28V6D+QcHZ1IZ1T/lTd nF8VtPsQFISG3UFfhp8GHwmTTeCWc5FOtkM3zEMdkFwJR/2Xv6rCT2+nDlw9daDxs1DF uKtwfH1W1670gKmLJxgFuDRUSCR5szNh7y1w3Htm2CtTHYuDuLnFoPsdLtQJeAm/MvAW fD2eSnxBJZ948ilPUrFSIj8PF5GKjvdMqMNzZsQ0jGDbtKk2BHyDuhXrA5qXBaQU7lEB ZefmjbNHfuduF2ysiztlruS+becVfrpn1V/JttYptMajnFf8jMWtM5M8uP1r6LP9Coz3 kJlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pyrDEpS+; 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 lx10si417581pjb.162.2022.01.24.12.59.18; Mon, 24 Jan 2022 12:59:38 -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=pyrDEpS+; 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 S1356145AbiAXUYi (ORCPT + 99 others); Mon, 24 Jan 2022 15:24:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350049AbiAXTv3 (ORCPT ); Mon, 24 Jan 2022 14:51:29 -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 55F7EC041885; Mon, 24 Jan 2022 11:24:27 -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 EA1D46131E; Mon, 24 Jan 2022 19:24:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEEC2C340E7; Mon, 24 Jan 2022 19:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643052266; bh=GwsqnG/gu0747YUbSDPjrOYQDrFTjAXab4YSsPoCaww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pyrDEpS+ttu1t6NRGuIE27BFNXfrKVYPFIF2wPbczqvB5lze1n5EcwN28/3BCDIfN mFgbBr3F/qJgTMG7+OzTh89FSH47no2iFfM0M1LvU6vN9x6xOFdCUC4trLuFIu0GE+ Kk95s9iRqrz5N9nbTeeuM/HrkoZTFf8FFHJ2MFlY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Amelie Delaunay , Vinod Koul Subject: [PATCH 4.19 217/239] dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK Date: Mon, 24 Jan 2022 19:44:15 +0100 Message-Id: <20220124183950.008557386@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183943.102762895@linuxfoundation.org> References: <20220124183943.102762895@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 @@ -194,7 +194,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)