Message ID | 20210419042722.27554-3-alice.guo@oss.nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=2Oki=JQ=lists.infradead.org=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FF3FC433B4 for <linux-amlogic@archiver.kernel.org>; Mon, 19 Apr 2021 04:28:54 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D747861104 for <linux-amlogic@archiver.kernel.org>; Mon, 19 Apr 2021 04:28:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D747861104 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=41rcAiJJ+DfPaX6I4eNeGkUe/qhMGtlaMjg4rQNPxHs=; b=nNfOFZwth1IOMmKoFuhzepSf/ 5z9MOXf/vQvBwy1PKwr6Cx61s+N0pPDA1wdYWJ6OxdonDbPjNJkZ3YEMJ1+fRypdXzx96lWOKJTfL 3ju3+xy2U856xmhjn3ZljEJjG0Sbov9m01FGLBpvy4/Au1s7nIkJKl1COnuWWR4eQr3OyhpnyWEd7 vJQxLd9Y/TGWlJ52bfC4Og3jvs7r5HffW+mOKv3z6dFZty3gxYZi2/9Uja6w+lUBmdTAfMRybCrEX sRaP7WjPYxu8N50US61UkAqqGTIoS8+sjzlAb3eetsoISnCyaCE6BBQS671CX7piGgtkMlEM87T78 GuUf43gaA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lYLWg-0094N2-40; Mon, 19 Apr 2021 04:28:46 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYLWZ-0094Lv-4u; Mon, 19 Apr 2021 04:28:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=1bb4Vb9T9lwRDMMjfym8FVkfdzjCyJOFIBDrxsipoKg=; b=pnA9vJEmd62TDvdtNmwIvZdMPq yjQ0BglYIDuinKq/g19QSiypx4qR2uv0EpOylmS3USN6U/YnhiyhN5PgJkpO8oc50FxLy3KJffabB zDS3vmyPLPjNxCorzvQvJR+6/F7w4ayQ29qYHEvfJuEbOjxbP48MpXlEp+PPiAZZ5pmQaEQxtKUYr yEB4w214feHPJdbmhXCQcIfAaMnJ1YJ5iYxqRCi/+rZYdycrTYwNviR4vw5mppkQn9kdTIej1tj9f ahSvF6ue3D04hrgIdGpfhlL/NPPFoQ5XMxlGO5f0v7v4l2sUmnzzaEd9GCAcB6cj5mYdmoL03jjaK gWox+6hw==; Received: from mail-eopbgr30057.outbound.protection.outlook.com ([40.107.3.57] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYLWT-00AyXY-NY; Mon, 19 Apr 2021 04:28:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BTJIE8SqJwtaoCpf01O7IjUoR+Pmxc/ulMNpW+HkBz4cUubaJu2VCQGdfi0lYzxgb6JvZQIXYuzZ+8k/W5h+Pot07HLjLbmKr0wCFrQSdC3l/67W7jmsQeO7P+tJ+NjATWHsbTvSuxUfrDVycuwuznLJ/3QC/+hW2iTSXhLBsSgTbCvgwLsfVfALwVfaZwzlFosljScRnrN4M1jsHuzwVrezK1UUQ1DVYeiTKbza1+ZL6FDHqzRZ5V73xud+4kZ34eYj40fsxPC4HixM1lFHOvbzpqpBgjdn0bA/RJ8xMmM0xvJkCHnSHw4sv/xlpiiVPfgMrt/ICYgDErkGOFZAAA== 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=1bb4Vb9T9lwRDMMjfym8FVkfdzjCyJOFIBDrxsipoKg=; b=obf1yfXuOtuHMDGqEhATMGrS+KgFfOM3AGWUFxNfMtoIHqLDjk5qbLGtQP91hBtxcAAbjhTYdoyRNKw380HC21SoUJ6PtKl617+WW1Ac9Flvkd1pi9SNplEFSQgDzi4iXMh5stVEC1pJIaGrUcMHrOUmGM1zEieC03T8Jgvipd8lrqzXZ8byOs7MfIHN8fMUau5h5KvDrt3VOCmHadb9YtDqE22AYoGFkNQSZYFE2jaaleXLP5L+ntszxIP+Kq2Q0AbN3jy/Vw30r6aR8KHAC1c7mWTT3TKFdlcPt2zWINFxh3Do95STCElECH3p1GdKZkafAImtUWuK0ukdhf9+yA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1bb4Vb9T9lwRDMMjfym8FVkfdzjCyJOFIBDrxsipoKg=; b=ICMBNZiP0RPlOxdgGFHGj2dQvhedynpguwpYOU8trqiJnrls9olVXsCvmNy+vwKiLaKtuieXeDyKwBFYMRSx90pof7fVU7Jp3r5iycbZcaxa9aCwUs5RX6FRomAYI1X0rMxeUQtTowEkUhL57l5oBK/C8N7mf3Rpt1FRRNePEN8= Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none;linuxfoundation.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) by AM6PR04MB4406.eurprd04.prod.outlook.com (2603:10a6:20b:22::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Mon, 19 Apr 2021 04:28:28 +0000 Received: from AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::b034:690:56aa:7b18]) by AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::b034:690:56aa:7b18%4]) with mapi id 15.20.4042.024; Mon, 19 Apr 2021 04:28:28 +0000 From: "Alice Guo (OSS)" <alice.guo@oss.nxp.com> To: gregkh@linuxfoundation.org, rafael@kernel.org, horia.geanta@nxp.com, aymen.sghaier@nxp.com, herbert@gondor.apana.org.au, davem@davemloft.net, tony@atomide.com, geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, vkoul@kernel.org, peter.ujfalusi@gmail.com, a.hajda@samsung.com, narmstrong@baylibre.com, robert.foss@linaro.org, airlied@linux.ie, daniel@ffwll.ch, khilman@baylibre.com, tomba@kernel.org, jyri.sarha@iki.fi, joro@8bytes.org, will@kernel.org, mchehab@kernel.org, ulf.hansson@linaro.org, adrian.hunter@intel.com, kishon@ti.com, kuba@kernel.org, linus.walleij@linaro.org, Roy.Pledge@nxp.com, leoyang.li@nxp.com, ssantosh@kernel.org, matthias.bgg@gmail.com, edubezval@gmail.com, j-keerthy@ti.com, balbi@kernel.org, linux@prisktech.co.nz, stern@rowland.harvard.edu, wim@linux-watchdog.org, linux@roeck-us.net Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dmaengine@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, netdev@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-staging@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [RFC v1 PATCH 2/3] caam: add defer probe when the caam driver cannot identify SoC Date: Mon, 19 Apr 2021 12:27:21 +0800 Message-Id: <20210419042722.27554-3-alice.guo@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210419042722.27554-1-alice.guo@oss.nxp.com> References: <20210419042722.27554-1-alice.guo@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: AM0PR02CA0207.eurprd02.prod.outlook.com (2603:10a6:20b:28f::14) To AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from nxf55104-OptiPlex-7060.ap.freescale.net (119.31.174.71) by AM0PR02CA0207.eurprd02.prod.outlook.com (2603:10a6:20b:28f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19 via Frontend Transport; Mon, 19 Apr 2021 04:28:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 724ca91f-ed40-4bee-6ae6-08d902eb943e X-MS-TrafficTypeDiagnostic: AM6PR04MB4406: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AM6PR04MB4406FFE107BA611E7348AD01A3499@AM6PR04MB4406.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZjIj9iYfBc8vdFbj9+Zn+7Dp6l2xCkfbOMiOd5JChxZbN/O3F7ZnKCnzttUMiwzMKwyYxOBdFHrgvgD2Xe8F/UHv3AwarhDFhafWYA471feJx7tvgaO44kfkEWvbRW/yCyCyb5xeSn7bXkl+IFGuP2y157VTEwVVYZTxwEOHbkqPN8UmF4CksmKb26NHf0z3YYOPUUNMIlfBTjvwDT7GhPjZ1IKpbxBMjlO4nrMdU9aKKMILpmi8Act8FvvlVXYhzaTCYU38ZuY6LoSTC03UADthBX4R+ODJF/9VeOQTHp40pJOYEwpp2Y9O7WHnVTnmLB91Rzd/hMEUlxjy91z7m6h8kGNxcywl3HQt1LS/1p2QCCNb0b9LNTyvhIXIeMV6eq17BnHOgl2IKuu7Oiv5AxDzovksRwjdvMkfzvewm7J86aB20eP1ybVdOZzeLtUgO839wytCU0JdMtxNSjwFkMEUx2a6UF4aEXBFVlvthhcHq8Hg94sjMHZdTHMeKYzP/vU+72yQYy+LAWeHaIeO3MAMcvPI865oQRhslkloJlo14fmBqexnUQdkgGIefSZ9abnmllu+M2mu1B7VeHAi4JjjHo5c3LhD6IQu/YXy+h8c7KOt2PmVqS6eD2i+fIuFjcuMG23ZaAyQwOCdJmSFuP19kijVZU9KR9b5h+GvdPU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB6053.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(396003)(39860400002)(376002)(186003)(7366002)(7406005)(6666004)(2906002)(8936002)(2616005)(26005)(5660300002)(8676002)(86362001)(38350700002)(7416002)(38100700002)(16526019)(316002)(956004)(1076003)(66556008)(4326008)(6486002)(6512007)(478600001)(4744005)(6506007)(921005)(66946007)(52116002)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: S+SMSURjWXIKveQ2mSZeVbB0aRQLAacMJmgFr3gi8z7IcERjnI1+Ap7FZG2i67Jlmva+wcOYNAK4pJnVduC/zBdjKfe2Y61gDSRcQSEPq++ZNwJF94x2IRqHadHj/FzXjlYvlpvrAzFGNC6CH3Oot6+H1q8jvvNew52P1rsTlcP/FntzBGswZUhX7C63xn3KO2P0x5/5m4c3PIjguWzC4N8TRn1kq4Y8oO3tU8TFb3cayJCODv8C+cd8MHLaAfvFDS1ZVQ4E8daGQvFfMASpKqEByrYZW6kLI0knbwQlW6youQ/OXG6C6LnH4axSfZ8WVVw9TGOk8JK7hjhSTZnNuCoKzRlNZK3qgKg0jyZgVIBAAmvS8wr93+9+NManQQ/LUweRS4cwVOLj9P+4YqPD5B0yWk+mPp28WwrCHlT2qST10V/nn8FCzD7OoHVerCFhE9Eculd80T+i9GpSHvGtlxpHPzg8hYe+Bx5A+bFr3TdiJ6bCLs32ENCpOtdQLQ1r49lh+6HEkbXvMm8v77RVt9FnQqsGAKRhLyzDqo/y2N1pc5tfqCAMvwQe7wuPT2uDikWt7a1pHR7xOWPnzsIOY9aMt67VKRGR9y/fiJlO9fRo+SsM6lNd01Wd6wmqxsg5Z+vUZVq7NTVDOHHUrQ8mS5F3iZZMU3V+d39ZdRud/faNzI8M3Jzcq6juufv4wIjcv2LVX+TUg0VINyCf1pcFuwwa5inibE2ZexoVKF9fpMXSVl5bE4Q9DLNjQuJ9nagmToIT1dDyMElxa8xXva0LqZGz+l5GRxJeVpJOpzBitJkrON8x4TVwtspoBx/1E4697VrNGVUkMrkPHiHltdX34JMQCXmhj6OtY3IE3hhyGSLnUNO8VgIhYlwDVtpTHGnNVJm9y4o/U0TPe6a5jB+uYD0l5HOrCd9jWXfL3s3O+pMeNDbmFs4Czq118nXRW2skbFxkRB/GygPZkx7XbZGuaL2+Bxna/qyVtZOwG6+SBBely6ZiAsmWHUgiSspr9uWLgjRVbObc8qClATUI6Jxpvw8icNfZkxhusCnRENfFN0w3Impf09Tso6XkvESSJ1bAPy5u5Oyrw+je82luTRtW+UqExOFztt7d043DNkSycUWujEk2D/aZ9KK5gxk3p3IDHzNfa5VKJrJ6ikaPwE6CKOw6P89z1blH70plZWR7sCFP+zB3PsziVAIuDI8XtWyzlqXpilP4sop/v6qpb2+7oN+0lsf98oO06xYXuQ+UiPIxyCBmBrDAfKbremTDh2fNU3F0KdMTVCzoKTsT7jhe0M4uzPGfhSjjyWErycPkKAsBmJj1eUtIWJ+ZxckWHRoy X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 724ca91f-ed40-4bee-6ae6-08d902eb943e X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6053.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2021 04:28:28.1801 (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: eKNFGQKKV8ae94+mHMJkcNLZADkRUC1l42gCa/eQ0RoO3DOcU7XWPoUKz7GZYHvi7hB815JMctxKH21FyhhFpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4406 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210418_212833_800803_1045ACB2 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
support soc_device_match to return -EPROBE_DEFER
|
expand
|
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index ca0361b2dbb0..d08f8cc4131f 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -635,6 +635,9 @@ static int caam_probe(struct platform_device *pdev) nprop = pdev->dev.of_node; imx_soc_match = soc_device_match(caam_imx_soc_table); + if (IS_ERR(imx_soc_match)) + return PTR_ERR(imx_soc_match); + caam_imx = (bool)imx_soc_match; if (imx_soc_match) {