From patchwork Tue May 23 12:42:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 13252214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A565C7EE23 for ; Tue, 23 May 2023 12:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:From:To:References :In-Reply-To:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hl69Sf2PDYc+DpIs0ZMV6YW//pQfabsrKvfTicVow6M=; b=Qj5az0FDLYzsuK lJxcx+uSgaZ19t9u4tKBv51cO3rwOxKCyt0zMLwWacPa3pXwNtGzebt6aBE11U4uX2QUiH00UxKjE 9Ey8V9g3kTngp3LI6decALrexq6Ta2+cnjUqdZUXowl7VWIe8Wc+ZVzL4RB876AwIDU/MG4neMzuU j0X8PQojbdg6Xk+LjCYYNSagM28iVj61SngiVKAGVob1OR2hijPPQZAqvgr772AdGfAU+Lv4vvG7j wtsccPHCpf0uPDzxrHTxkr/SpTeyZQYvbQQ3r4HELpy2jfw4eQxLBdHEJ8BBGU7VXvk6VeFInxPnP U/Cnu5IzQiaM75SH45SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1RM8-00AH8d-0R; Tue, 23 May 2023 12:43:12 +0000 Received: from mail-db3eur04on072f.outbound.protection.outlook.com ([2a01:111:f400:fe0c::72f] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1RM5-00AH7Y-1L for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 12:43:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lFFd2aXStZnojCwIxoSEoIU5wtAw9lvlwlfusUbxM3+5S+uzbLISmSozKXoNWLnxcstXj44kT5zXSObKETY9P9W9MOCrO3RSmU14EbHB4fWVVgUS0kyR2tOFeQbRfMMutHz+eq2EfvIhio1UhAFWuynEItCFpNicNNzlc8vawoD35pagg7+FTGUKbV7lrlZBn7IIthginMH68nMykPDEGLkwts87FNpjtnGOWrB3OG5fA9xuR63F/S3FB0nusGy5lWjY9wGd4GKqKsViDGw1RHlIgqNWRpgJTZKj5PXPHioViXctOLEv4EwR70Q6BRUkiEKsSH98YA/6iXpKivSugA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XXMoADEGlM5mjtizpPzBqbTJlAXv5uAhIfOFZaVODkI=; b=laGTkVN4eRXTD8HdQrEpjmnUpGNMZI/eEKcQAh00VmVy6n3kjoADt9cvylbzQZK/nQ4vr2Etn7qFoqHoA3Op72HnXHTUO7/rIaofjWiQlree+SBX38RPh2Oa9zo9MGkC3e4BrrnhfV97FUZBO6z8TCZfwnzHPTMG/Vl1HH7Xa01ZX5zpSJgLVw3XKASJmYWmQF/PHZQu8SgQ+DpOZhAekhDnoN6g3PnDeuruU8CywWiL92D5WaIGppEB8d+aXlCJhorSIQXhQPvheAU2rXK3oTX1mxV219hH/qX7DWJ83jBmNv0ni1CaM7oKIQMmbzbbsclL9YIWJBMn8W8VXINdAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XXMoADEGlM5mjtizpPzBqbTJlAXv5uAhIfOFZaVODkI=; b=goGawR5KTqKWXTvQ66BkIWYu/lNY+1BwfFmFwWM6YGgIQLJ0y4v1m8zFtUtq28dtCnvKx1Wm7+slmq/3+vPHq06sV/Kfb2RfKfP+JaygyVzMVFDZosZR8RucVCrK4cDFTN2OF8iifYqaCDbCt+MaAis+exxcarl7hpuAnFV6gcQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=axentia.se; Received: from VI1PR02MB4445.eurprd02.prod.outlook.com (2603:10a6:803:ab::28) by AM7PR02MB6145.eurprd02.prod.outlook.com (2603:10a6:20b:1a2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29; Tue, 23 May 2023 12:42:58 +0000 Received: from VI1PR02MB4445.eurprd02.prod.outlook.com ([fe80::b703:24c6:975a:bf84]) by VI1PR02MB4445.eurprd02.prod.outlook.com ([fe80::b703:24c6:975a:bf84%4]) with mapi id 15.20.6411.028; Tue, 23 May 2023 12:42:58 +0000 Message-ID: <5070ac45-2f91-c9d7-de7c-31d38750015e@axentia.se> Date: Tue, 23 May 2023 14:42:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: sv-SE In-Reply-To: References: To: LKML From: Peter Rosin Subject: [PATCH 2/2] dmaengine: at_hdmac: Remove unused field values that do not fit X-ClientProxiedBy: MM0P280CA0069.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:8::6) To VI1PR02MB4445.eurprd02.prod.outlook.com (2603:10a6:803:ab::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR02MB4445:EE_|AM7PR02MB6145:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d1d93b6-c021-42c1-b9e2-08db5b8b3cc6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A3zTRBXd3fthozqvhiXQy/DK3mZPIu/p4jEryZhaFgjm+dQoUqvrWwOrN6BhAaaxaB3QFZ8x9Hdg3kn1b2yKWIpfCGWCLPMBF9VNwp7K5KZUYm0ZThrI9UpuYIzDebfm3IbMQh14mTx7obBaTFDq2y7+pW04uIWfeg9QLPLMHPweSvQwTeNzyMEveNZ/ujAiFeI8Ef6mVoZB73DHvRixAel/boc0LNAuvFahuLF83x9cGRiKlzQevjedwZNwizotMRLf63cvATXUzlTMQbWBjsi6iHkhMTH37Sd18yjyBzFZaPaBqC4K3gySCFgQcyIun4dciVjDfXOen73RaTycKXFn9Z2f3jm4kBwBipleY4aNm9czVnnQe5lY813/1bwNCkasMNBiCZrdSRVP961oPIJRWY/fpG/SeZN9a0ai0d640NnWYrqwg8EBkISuGjOIpxcHsDJkMqHmfgunBA84YdHTmey8y50BmGTUC6A1prAcrLHWRvyszClpEEJYl9/dku3Fj0cbhWn56NsTzT492jaEoOaM2ELnCDQHTXwDp5SbYHzSwsnFwCFZk885rpvIUF0NARs1+Flp+l7Qyb/BgZgEW1+dW4j/D63sBFot/k3LoLwsEf3ljVDg6h1oZflNAIBBOdv6RLRjMKK8vy8mNw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR02MB4445.eurprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39830400003)(376002)(366004)(346002)(396003)(136003)(451199021)(54906003)(86362001)(41300700001)(6486002)(31696002)(31686004)(478600001)(316002)(4326008)(6916009)(66476007)(6666004)(66556008)(66946007)(5660300002)(8936002)(8676002)(38100700002)(6512007)(26005)(186003)(6506007)(83380400001)(2906002)(2616005)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4c+N+WhJloKvLXIuQS07e6RNGuB1?= =?utf-8?q?hKEHEKZxN7PqVpW7G2TPLHd75PzoaXDO/bEm9iIUCJqnnqaNief+TpYcASU/cmdxG?= =?utf-8?q?3AfKvUurbj/zCcCDvmTni88hEB+a75gmFqGXwXKJh+KJ44cpFNlBu1YF8/Due3g+t?= =?utf-8?q?XRbSWvzMprkdo+XQZ1hNI5F5JYlaUvuP2wCEdAyqxR7wfjszavmnHdaHH3QfUqa+x?= =?utf-8?q?eMmVOnjZCV0YXEkmtBSHet5Fl+wXd+9qOgfwh9cGRWJX+caWTSgUN6yL3mmfqvGE+?= =?utf-8?q?by1O7ncIuEQxm7KS57iPdB4PjoI4qG62j2ZJ5aYkUnTi9Q2ksiVb3B9QFcse1EcYA?= =?utf-8?q?97xLSXMlJglQwV7+j/oiZ0X5ygIwkTtyq9LAeEsy8ECPVVRYHDpEeig6Qv2tJV+M1?= =?utf-8?q?PGdUUPDlqA80bfUgXrCHDJbGzuJ9w9/QB9tHWCIheWFI6lCIrCxe+u1t5mPw8SWfx?= =?utf-8?q?0Ny8AAO8ZNzm5dRO2HBwjonI5Jrla2obrnZalfsBpYplkguSPnz+Pg2B8DlOcpiX0?= =?utf-8?q?orE2YYxW1bzbtUwd5GSUxPkYjA+vspSMAlcoaePP44QNkAwgC7U9QYlk3QaWz1jHl?= =?utf-8?q?l3kEbeh0mL1D3xSD44oX6+H3DMmWgjykVYIzcfSVXkxQjcgID3u/BNkmp6UABV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f-8?q?CUcm9Vj4Y4mh?= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 8d1d93b6-c021-42c1-b9e2-08db5b8b3cc6 X-MS-Exchange-CrossTenant-AuthSource: VI1PR02MB4445.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2023 12:42:58.2418 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rrEOhzMP57cKUcNboxYpqUI3YwCE4XN6DgvIo3vBfRJtdHhfKjVL8PjsdIdtv8Nq X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR02MB6145 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_054309_718132_07FA6C66 X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tudor Ambarus , Ludovic Desroches , Vinod Koul , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The values are not used, and they do not fit in the intended register field (ATC_FC, 2 bits wide). Kill 'em all. Signed-off-by: Peter Rosin Reviewed-by: Tudor Ambarus --- drivers/dma/at_hdmac.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 6f352160bc3b..51d0a0c7aaf7 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -137,10 +137,6 @@ #define ATC_FC_MEM2PER 0x1 /* Mem-to-Periph (DMA) */ #define ATC_FC_PER2MEM 0x2 /* Periph-to-Mem (DMA) */ #define ATC_FC_PER2PER 0x3 /* Periph-to-Periph (DMA) */ -#define ATC_FC_PER2MEM_PER 0x4 /* Periph-to-Mem (Peripheral) */ -#define ATC_FC_MEM2PER_PER 0x5 /* Mem-to-Periph (Peripheral) */ -#define ATC_FC_PER2PER_SRCPER 0x6 /* Periph-to-Periph (Src Peripheral) */ -#define ATC_FC_PER2PER_DSTPER 0x7 /* Periph-to-Periph (Dst Peripheral) */ #define ATC_SRC_ADDR_MODE GENMASK(25, 24) #define ATC_SRC_ADDR_MODE_INCR 0x0 /* Incrementing Mode */ #define ATC_SRC_ADDR_MODE_DECR 0x1 /* Decrementing Mode */