Message ID | 1420859496-27533-1-git-send-email-a.kesavan@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0A710C058D for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 10 Jan 2015 03:22:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 470EC205B6 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 10 Jan 2015 03:22:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B580205B4 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 10 Jan 2015 03:22:48 +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 1Y9maO-0001OU-Ah; Sat, 10 Jan 2015 03:19:36 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y9maL-00011x-Dj for linux-arm-kernel@lists.infradead.org; Sat, 10 Jan 2015 03:19:34 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NHX0005JYJXSCA0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 10 Jan 2015 12:19:09 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 55.C3.18167.D2A90B45; Sat, 10 Jan 2015 12:19:09 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-57-54b09a2d89b1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5A.AA.20081.D2A90B45; Sat, 10 Jan 2015 12:19:09 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NHX00DCYYJNZN00@mmp2.samsung.com>; Sat, 10 Jan 2015 12:19:09 +0900 (KST) From: Abhilash Kesavan <a.kesavan@samsung.com> To: kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org, arm@kernel.org, arnd@arndb.de, khilman@kernel.org, olof@lixom.net Subject: [PATCH 1/2] drivers: bus: check cci device tree node status Date: Sat, 10 Jan 2015 08:41:35 +0530 Message-id: <1420859496-27533-1-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 2.2.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsWyRsSkVld31oYQg31LRC2OfdnCZvF30jF2 i9cvDC3W/FWy6F1wlc3i6ebHTBabHl9jtZhxfh+TxdLrF5ksPj37x25x6vpnNovn708zWSw/ tYPF4uXHEywOfB5r5q1h9Pj9axKjx85Zd9k9Nq3qZPO4c20Pm8fmJfUeV040sXr0bVnF6PF5 k1wAZxSXTUpqTmZZapG+XQJXxrotHYwFy9krlh0+x9jA2MLWxcjJISFgInHr4wVmCFtM4sK9 9UBxLg4hgaWMEmcnf2WGKTq3dQZYg5DAdEaJaUsEIYomMEn0b/gOlmAT0JNY8A+iQUSghVHi /5IQkCJmgQuMEk++H2QESQgLuEisbPsD1sAioCqxYfcCsDivgKvEzUMT2SG2yUlsufWIHaRZ QuAUu8SxKa+hGgQkvk0+xNL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SxMzCyVxHmV7NtChATSE0tSs1NTC1KLYPqYODilGhh3HrI5tCcnb2fAx2sL t0XK/5LSS5KYopQ68RW/20wh/U7zJf2qOw41zfQVXbH8+pOKCsNW/dtBlZzbpZnO8m46bnY2 KtzOjkvs5d+G8NMPZy96wlMmdnVpwabHTo7y73T7gx5L32V4UPDM75/yxqv/eColC5NyPMKP M5/vyQx/Ptn0H8cqrTwlluKMREMt5qLiRAAwVBKV1QIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150109_191933_647253_6DFEF344 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.9 (----) Cc: nicolas.pitre@linaro.org, Mark.Rutland@arm.com, kesavan.abhilash@gmail.com, linux-samsung-soc@vger.kernel.org, Punit.Agrawal@arm.com, Will.Deacon@arm.com, k.kozlowski@samsung.com, sudeep.holla@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 |
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c index 860da40..0ce5e2d 100644 --- a/drivers/bus/arm-cci.c +++ b/drivers/bus/arm-cci.c @@ -1312,6 +1312,9 @@ static int cci_probe(void) if (!np) return -ENODEV; + if (!of_device_is_available(np)) + return -ENODEV; + cci_config = of_match_node(arm_cci_matches, np)->data; if (!cci_config) return -ENODEV;