From patchwork Wed Sep 16 07:17:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 312162 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp198219ilg; Tue, 15 Sep 2020 23:53:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi9wCkFiH21i40OLkwKAsiU4Ip6yw4KpXGBgiFomnKKTxPLcG9BDS3+ROPQGYTI8pZuG2N X-Received: by 2002:a05:6402:1451:: with SMTP id d17mr25643247edx.48.1600239230333; Tue, 15 Sep 2020 23:53:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600239230; cv=pass; d=google.com; s=arc-20160816; b=SJ3oRLLScEa5i+1dfqH5nqgs5Gv4pR0/Ds26Ylm0vIwZWveeijSQcjH35EH0f/ZzVJ MEimIPXz21g8/J7vh8VV35zYuWmkU513Mz+0fcL2M90sjplmmRuZ8zqlvc7XOfIsXp/V znNrbWJ/8vYaOKCSjbX1A/JlR7ReXx4x4otYj4VzY4QVHEGraeMhrtLWSDX3Ldl/Ul8W FjUy/N2T1pPa/kOsWQgLy1q9gZx73d+qTq5J4Zm92pFePol/Adftx+QOh2tvkb3ypHhP EbkGqGgr9sIO2AZ67XbG/mGl/leYyVmUyrE4mPZfexWHtTjAOvqlXEhLaexm0cDffspF ww/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=f3EwO84pLEIsY/lM0edX6Yv/DJkSzJbsfBi9tu8vz8w=; b=VjG5Ceep12XTVTblQkPfPHUCvSKK0XzUWh1iekBK0shBetZPNcd9zLHdLqIUguXUxu Qja2/KZCPsEG/iygzHHfpgZnW4OXXeTXQGcEYtqWe7tl4QD4yFKpFFtcythpebopQpow AyFMmYzoOJpz4rMueiceoFFrj8ILmDnGBgd5DYd5fyRk6xnp0m2tYTGSfUQ59J/VsvzK ZrtqOjQ6DhBUesnR7IFDoKSwZMWAztlAKr05f+JY9SeUuWnr4BOCCU0ujqTMxeWQt2D2 2AWYeeW8E64zkfhDls+5etk9EQCnRxIcFYb7l4+oeQMwWXCm586jEq++z9Su7mq8Vjn2 q93g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YAzQIiHj; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id mj21si10920090ejb.271.2020.09.15.23.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 23:53:50 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YAzQIiHj; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 69E1A8231E; Wed, 16 Sep 2020 08:53:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="YAzQIiHj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1FF1482334; Wed, 16 Sep 2020 08:53:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20623.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::623]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5CF0A82319 for ; Wed, 16 Sep 2020 08:53:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RiGn7X17WUr/xXJ1A5nOaM5YNqJVxeSnF3mpD3su0UQ2ShTl7HuVv7NPp1rCNaWuxwKKmdNlk4YFk5/EeHC1txNDv1Zc6Ex5M3jL8ZXL/y1YCMkLvJrChXGbTzNSDoboHMISx4VE9pmpZI+BmdAuLrzMaydXUJBGH008MVzRKObamkWTeT2fVX1qkFY8WFaThHZHx9t7tgP1qdovSbmLvPMuP65BT7o0tVkk2EX8py1sw/l43aTp1qk/cUB0XkwvzuR3C3pwJtc6oPrbH6+r/nxAjfJNezp9FwWwImfCBwLjWV9YwhhyP7ggo8FM4sH2XMLmSbNEocb42zzooGJX7g== 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-SenderADCheck; bh=f3EwO84pLEIsY/lM0edX6Yv/DJkSzJbsfBi9tu8vz8w=; b=DhpSihkXbJ0KDorK5XVGau9phCi+iuV9IglZFj1m8Q1vkI9y1HeqtE6cBQ93aYD2nPmWVlL8YeyktraZlt6AoVkcxx3PEW3WUK498KgKpyDDvwUrSD9rQewgpMvD/D2JBehgu21J2OAQB4LImJxRarvzeuqmaFboTylg9LYGNdPcO0UwV2Hiys3g4v+2bZRT7+eiH4mZmGFrGugTKGRLIOOdqA1YTXH3h5Ix4/XhudTeVVMC9Qlv7S4L5XXzRB8kVVCAYoojsK2/8gNK1i5CagKYBtekrQrPX/UTZMq4dZTWPXj52f5ay60zZtasDeHllwAx2Mh+BpydqpQLhCuEPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f3EwO84pLEIsY/lM0edX6Yv/DJkSzJbsfBi9tu8vz8w=; b=YAzQIiHj8m0Jwj8Bb84YZSnz9NeC4IPI8lY1tBBITNG+qmeT1umOZp9Eflg5zcnOSejz05UCrwqwOK79ox5QRgCU37Eq9KMo3w/XRdZXzD/DQVg2YTAYwc4OeI8F8KLJST2ritbz9u07c0JmxEmdrtBwlEJ+HpZbCsDljZEOc3M= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4762.eurprd04.prod.outlook.com (2603:10a6:10:16::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 16 Sep 2020 06:53:15 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413%10]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 06:53:15 +0000 From: peng.fan@nxp.com To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 4/5] imx8m: clock_imx8mm: add missed return Date: Wed, 16 Sep 2020 15:17:21 +0800 Message-Id: <20200916071722.28772-4-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916071722.28772-1-peng.fan@nxp.com> References: <20200916071722.28772-1-peng.fan@nxp.com> X-ClientProxiedBy: SG2PR06CA0230.apcprd06.prod.outlook.com (2603:1096:4:ac::14) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR06CA0230.apcprd06.prod.outlook.com (2603:1096:4:ac::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend Transport; Wed, 16 Sep 2020 06:53:12 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 81194f96-2cbc-4a81-d16d-08d85a0d2f4b X-MS-TrafficTypeDiagnostic: DB7PR04MB4762: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: btFyOwYQrHQ7hR8P90CtbZWmoiT3/KyEjuiSyCn5fGJtMz3+sImEbQ2XpePVYoh+nblxOmAl0o3QcpX90fIIvmu0qczGXvIrKw2pj+nFQdcpnfAfGL+9QsOCd9uFwWMb7f7p8m2PHBQuwkGcTEra05WxI8L5aLNncCKJpWw5bQFNEiPwd2va+aRjhHFKPgT5dhcRUyH7OJxYjdOIblT1cjDFwUPotGC3idKGAsjWCBc1A8cqvnO5tdwBRcFkUTK1wNARwmwxKozqMTXOl6bhMp6i+U6UQAo8yUNfCbVf02L1kSxhNKxmthD7bJXZ7BxqJNf+ZTL5R9Tq/7ojl9vuWISUhhQpXM/8KvwYIKVaMd7G3BZhHhY2ZM3zeLVkaZad X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(2906002)(6666004)(16526019)(83380400001)(498600001)(186003)(4744005)(4326008)(36756003)(6506007)(5660300002)(1076003)(6486002)(26005)(8936002)(66946007)(956004)(9686003)(2616005)(8676002)(86362001)(66476007)(6512007)(66556008)(52116002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: H1avbiXIzAsvfcEsFqI5VUg/gjl0QZmxvisYAcnpBEui+I0U2QF1PacV49a92qKI0HVjSNg5FG1u/U7CyfmpQHw7U9V1sjZEycCZKvte1LlQ+2c5tayqHn3fdk/FK8EUM5VkHXarMuDvR9Yv0R6ek/beeBPENLWhdLdYNgJ2aSM7d0oUF3uOeJWDjYHuxUs8ymHzBrpk6adGvSMxfso1qXZLCa4RiV9+u3Fl0Ou63+JHOBm0LikmdARFX65D2tEJskfmlIcmbArGndZ4wtpkbz5NYdlEaS2GdEZxLg9HJWp+5SaYt9FggAYAOYcYD8KyU6AfhW4Sd0h/jExf0zH1ttmsCxTka3siwUF6/u4k3uK/v3gYzayLCTr0qx3YoH6C/7AgckejsZ2ZOUc6nxXBsk7pMtYRmYM2dTLAHDTzF+Vawm5A2lBRJd3Sg3Wzb3e2gBJiLdL5NMY3xGrmn0c3UAOoJrn9MinpYeXo33fqOiK9V8atuSuKFWQp9UvB2Xy56m1LszkB9+mEklCk1UiUCLPRHqfZgv+7G0RaEGTiz7Dfmg5DV88XoabS5tfoNGNOO8o76kE/ULTO2+wmwt+/NjwVsljwQBX7Ue2OYTB6g4b4kBJgKbAdjrL5rbaB1m9BHy+hA82ze50BzUH05gitLg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81194f96-2cbc-4a81-d16d-08d85a0d2f4b X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 06:53:15.1865 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iaeJE+Gt8Wk92Mt7x6qoX0qHx56IxgBB5btM0bpfb+8nN82OONVZH4WagYDc/cawM0J9ERQmd+dlgvZnIRGXjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4762 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Add missed return Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 + 1 file changed, 1 insertion(+) -- 2.28.0 diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c index 3610f5b2fc..9dde11cded 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c @@ -360,6 +360,7 @@ void init_clk_ecspi(u32 index) clock_enable(CCGR_ECSPI2, 0); clock_set_target_val(ECSPI2_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(0)); clock_enable(CCGR_ECSPI2, 1); + return; case 2: clock_enable(CCGR_ECSPI3, 0); clock_set_target_val(ECSPI3_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(0));