From patchwork Tue Aug 18 15:48:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Alonso X-Patchwork-Id: 7032011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B89FB9F344 for ; Tue, 18 Aug 2015 15:53:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBAB120558 for ; Tue, 18 Aug 2015 15:53:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01AFA20547 for ; Tue, 18 Aug 2015 15:53:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZRjAq-0003Vk-Es; Tue, 18 Aug 2015 15:51:40 +0000 Received: from mail-bl2on0122.outbound.protection.outlook.com ([65.55.169.122] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZRjAX-0003B8-Vp for linux-arm-kernel@lists.infradead.org; Tue, 18 Aug 2015 15:51:22 +0000 Received: from CH1PR03CA007.namprd03.prod.outlook.com (10.255.156.152) by CY1PR03MB1375.namprd03.prod.outlook.com (10.163.16.29) with Microsoft SMTP Server (TLS) id 15.1.231.21; Tue, 18 Aug 2015 15:50:47 +0000 Received: from BN1AFFO11OLC001.protection.gbl (10.255.156.132) by CH1PR03CA007.outlook.office365.com (10.255.156.152) with Microsoft SMTP Server (TLS) id 15.1.231.21 via Frontend Transport; Tue, 18 Aug 2015 15:50:48 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11OLC001.mail.protection.outlook.com (10.58.53.72) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Tue, 18 Aug 2015 15:50:47 +0000 Received: from bluefly.am.freescale.net (bluefly.am.freescale.net [10.81.17.130]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t7IFoNEM021180; Tue, 18 Aug 2015 08:50:46 -0700 From: Adrian Alonso To: , , , , Subject: [PATCH 7/8] pinctrl: freescale: imx: fix flat functions default return Date: Tue, 18 Aug 2015 10:48:58 -0500 Message-ID: <1439912939-17535-7-git-send-email-aalonso@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439912939-17535-1-git-send-email-aalonso@freescale.com> References: <1439912939-17535-1-git-send-email-aalonso@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11OLC001; 1:fGt2M5ILrMxvFGEmNmOXCALJiUIeZ3e6KnAiGrFafJB86kB1D9ZIzJGeAFQ6bxGC6dwaFeyjs+Eteggx7jmxDcPFIPve+FGCtqnv3YmiAN4CHqKuQTuFAhy3ISemH2qD4kiHdHgwkZPYP3Z/dAjDtZzwGO5LNyYKXM3yoTZLTG6lARH6r24UGcdBmOFpW7Wr4x8G3QZ43vU/zhb99C36YPUgkNFdp4kAon/fwAO4DlIayhmoFzwmFonnX/65Q1rO2gG7hePpP4zs0LLJuDMxnpEJEUuwAvJMWVAC08f0w0ws4YAIJmR4zuGLjXCLWTLhl7YYBUdO3dcKWkd2EGb4YO6rBoPPnoB8pQM3Awc98TsFFHPIIyOOJUQojXhrFFmkwTHSyR4bG01WX58r1CGzJw== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(3050300001)(199003)(189002)(87936001)(6806004)(4001540100001)(33646002)(50986999)(106466001)(19580405001)(229853001)(104016003)(19580395003)(46102003)(105606002)(69596002)(5001830100001)(5001960100002)(189998001)(107886002)(85426001)(97736004)(86362001)(5001860100001)(5001770100001)(76176999)(64706001)(50226001)(50466002)(47776003)(77156002)(68736005)(62966003)(2201001)(92566002)(5001920100001)(48376002)(5003940100001)(2950100001)(81156007)(36756003)(77096005)(4001430100001)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB1375; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1375; 2:76LnQWli8X+WJiMTPHEx3EegDXUA5f7nVEdHtW70CCYrQjDRKvZFxEEAAc2WjJwYjSzzRKJA114rnpVHt+k/AhQVR4uknooW81UcdTKx86l4Etz3SLWLuvqZ6rfz+HRQN6Hdep/VO4NKxLBGgYiEDm1VI6SBAHUtNV1YWWiKqy4=; 3:balX+jUo/z9vnSbreGZDKwV5vI8xNEUjjlQZ9nTybVgolNIFM2GwVysGJUCVqYOo0pVsyCRCdgYeloe5Hk6lS+o6nhvwMMIgDCAug6LUssQ8gkxMecX11QJMxQqVCm1SRqvcwx7j9w3I9t3fE3vAcVigJZsrBAxC3o0wEdlnSJHviUIL/eQ0EQjT1KAnTSBYJ/GVi39fQ63Gkia7Yr6lIueGuFv0jiLnugG3Du0aaqU=; 25:BLH9h2aPMy7/V6HX4nk0GX/eQv6DO8sxKi6trUCf6bsBzTt2VLHf5QTUMXX6ZWNYltqJ/mhF89qsbCQesfn9EbSTMabehEVRoWNPXS5aD6gohdayS3U8rrgMVxRyfVZQEIbsQKuMlczGGx6MAi6Xvp89hzNgckNx2fUBHoUX1iEV7ibWf8RaXHjSzKUapArqtUvi5l9z2iFdRlAcvLc9imuodW19VWO9jJE1DMEfX4I2XLjchlgL+Lq2/m3jxwQuCinc19ye5SLT7iLbkKURlw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1375; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1375; 20:+CyQsRVPlXr6lbQzdJRn3MR2wn8KgykX99R6WHKVMcIJt1YrFaicv4uTeLFqcPMvowek3cJj56K8AJQ/S1zeSOqaQmkvcKpjAdSClVi4TSSx5udD6G/J0O0glevgUm1WnOFZpCOhPkk0HIt1bX/4mfeaY3MBsQTH9L31hw9Hjk/vbZtXB2tmheENQfkzzvLy/Di2jwdbKLbzZVCamIXtl/rPm6YawlqcUl40WEFlKhgCoyJ1LdNaLJV/4F9aVl9zOGfGSD4hso1vy7lHcTSVAvmqHTF3wbxCwPeEW/Cc0q/Nb3l5hPmp7k/cevKv3LOr7JU2ePe3JIZD+tQNrQloT2Gk6OTJDTxdIL3m9sqCu5k=; 4:prgUx2XK/8+DbcDP3D/ym9mQiC0ae9YygUZKnK6/6oZM3OQoAVpOKaa4OcS8aHrMiWs5RTXqJYM2rsZl/Y7W576w9jTomN4KPZXoIa+EYGyfRhRpO3NPfLcGLB2gR/8u7KuHazkawxtpDKNXAFX6aq0T1tPjemNLmMjn+jFzkHS8VY2yUalKlODZ3BvtZc4v+sTBjW3P10FGIG/l3dwFrj//90ybzC3hOQDbNMEC+ZWI7q2nQscCE9tOHSYHL+g9hgXob1A+XA2Vk6JHuVow0X7dqKkTvZ0YlUXK7GkUWoZDu3B8oNdWWBKRn24uEP/q X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:CY1PR03MB1375; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1375; X-Forefront-PRVS: 067270ECAF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB1375; 23:8wZo0akGXLwAzPVAZ4Q8C/vKyNus4PR3ENTCxS8rD?= =?us-ascii?Q?L6XFPBKrPirPr8djee3Ly7CYWV0IGgX8APbJcorZG+Hvd6rOfMAIS/6SPeEc?= =?us-ascii?Q?QX8aw/l/OTdQ/x89SulF526q/1LAcB3OTJkMGGo1qGTIzLq+NQYbzeW0LVi/?= =?us-ascii?Q?KfyCE1wxd/765BNo2d9OWitGc3spNZTsJjqZYTm5l2qufLJWADTSnTVZX+7c?= =?us-ascii?Q?Ok2pwYlBsjMl3EbYC6V6R8tbEi62lDARWoMg+48O56twZ7dkDxhvZiXRKFcs?= =?us-ascii?Q?PuQFMJYxTw7Sa9VEZbrWx+EVUJcyQdL0zETHWgv0OYfvTs3XnfCaW6PxE0Am?= =?us-ascii?Q?mxrAyIieqxyl1dYqduH0L/elzCDntlrmEkTsDQJUF+sfRJRo9HFoeIZcEg36?= =?us-ascii?Q?HTS5474+HPoqKPmCD0yhfRnMMPfZfrD5/nBdzAsA/lmlr3l0lmr7L9cc68sK?= =?us-ascii?Q?yyUWYhN97dC0Oig1k6sny13L6W+HPQwpYaLUGoWiMu9zyqTEbuGEHIY8mz74?= =?us-ascii?Q?ig4YhnhFuYlbw9d4e8b6EmU9VbN4gJGUsJZnQzivm0qsVAsmzKtE5zL0AS1R?= =?us-ascii?Q?BVr360Mdpi4r2tUA8kqCpDAO66CMIHYRYM93x1z9ni/Xouwb6T/akfs9b234?= =?us-ascii?Q?NU9IeJRsRjbC5g+J4PG1UnZgk/otbvby8yXuvMjf2ShSfA1z0cwAuvJcqzxw?= =?us-ascii?Q?yBCB/NVBBokP8ZXMKBDDr5xkqgdtNmzGD0z5a1sVTdy8EhOrt9SSbKwbQskc?= =?us-ascii?Q?JBX7nXbG/XDuQJ2b0Wes6a56Tfvmv/+FGuJ0qB7xyHKRIO1xoDIZHFt5wA+o?= =?us-ascii?Q?1TpFIPCjKZU0QfyCJZfO3FKF8C5MF4ZpyKIT5davyucaUFUHzkYp+hRhIbJo?= =?us-ascii?Q?hSMqHTEJm3bSAS3TCRsY5cwo6bE2s1Pkm/RJbrUAHtP/RjYjD0prfEGQGsnE?= =?us-ascii?Q?TRSkYDj/478LYZXxL2X2kECZZZH8e0wUvBEDY7bVMjmZ+Cr/A3Q+Z4vYofQJ?= =?us-ascii?Q?g8xN+3yJMv6iep1mmQicLIAg2dS+wOpIJ9GDQuG5dDrgrcKV285q0k+yQ4vt?= =?us-ascii?Q?xhMg6CsUcCx3kpn/jCTXm7EWIDBgOpCQIsO09iSt6cFoCuqnx89Al3QpcQGX?= =?us-ascii?Q?ClXZXwsV88Gs5GxLw3aQPf0Tvia6IOcngDEp7/9lFObpAKUU6yyKBbDwJaux?= =?us-ascii?Q?IlA0CLmOOW9qWlnvjgvrlvGJAcoANlPwnhsguRzbz3IL93YpI8E+tUjOERTR?= =?us-ascii?Q?FnXUKpHhccxI7QcknqblB3mVsQhq3GJMxCCY7CL?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1375; 5:GUWZV6xV3dVhZLVr2Sy2bpDqkj5y6h3Zk8B6AbJ2K2/RdTcWjg4I/dviRwcQOHPttCt+N13LkbHtv0DhhZfLIbB+qCHbdabsGv1BBIbYkfcHDcW+hWfqgaaqQhR0+TEwZffd9ab96eAEqc2zpHzp5w==; 24:XADYzMqPR2EK+oD/HYPvwzCbXwf01KZmU0ek5No63WWeBEoilXfX6U3R9/M9oNpig/XALYtdnthCT6j+8s2K7ipa6n7IBEjR5gf09/rLlSQ=; 20:k8kLzlVZY/trKX3uoTsH71d6t496AV7YkSywYolg4AK6oXbHwqgZUXF6KHS6D/7ygVhQBxmMOcEN1RYF5m60oA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2015 15:50:47.4356 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1375 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150818_085122_373586_267DA191 X-CRM114-Status: GOOD ( 13.30 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Frank.Li@freescale.com, nitin.garg@freescale.com, Anson.Huang@freescale.com, linux-gpio@vger.kernel.org, robh+dt@kernel.org, yibin.gong@freescale.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix imx pinctrl dt flat functions default return value. If property fsl,pins is not found in function_np and pinctrl_np return false to indicate that DT is not using flat functions. Signed-off-by: Adrian Alonso --- drivers/pinctrl/freescale/pinctrl-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c index 1009b52..3e02887 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx.c @@ -641,7 +641,7 @@ static bool imx_pinctrl_dt_is_flat_functions(struct device_node *np) } } - return true; + return false; } static int imx_pinctrl_probe_dt(struct platform_device *pdev,