Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3453691imu; Mon, 14 Jan 2019 03:20:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4t5MwrEqJ8sLuDwiIiXBQV8tnzOmNVqZy3sCqXl9jI5mltN/7bAydNa560ngmxDF4x741Z X-Received: by 2002:a63:e80e:: with SMTP id s14mr22321532pgh.30.1547464847527; Mon, 14 Jan 2019 03:20:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547464847; cv=none; d=google.com; s=arc-20160816; b=OPW1vQGAqad/uXwH3UnyLxsERD0g7QHE9FOQke8T7IFu5xTx7R1MRxdvObpErCVXwx I5BunkOLBMT3Z5PXI4+laPVB8mbu/5C28WWC+koym7c0/FLc3KMdkeO7UuIo3Xo4tqGm U/YOb2G6j+55CKj97A/rL4MKc+33/t1mAsXn9YPh1Nd4r5nuicX2F+zcbJH4JKLHzx+/ kfZ6DiCDJcmXzASuMNiDlkdysCTwJ7NpTPMxGODycfzDP/K7Q4yJ3tI6lZA9twYdZPHH mWlWQqNraq+PMmCFgnIq5cHapotsi8KAlhi2GVXypyX6RaIJOjMR+JMJsco8GoDS4Ow4 17SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XoRGeo3vT25+3Bl/ejetLFYJrvBGa4ChLOy2A0kveqs=; b=uHVoCM5NG7gCp359zadun6FI/J2Qw/EQZAqxPkit7imMLnatWEe+0dfDLRKamc0jB8 zlaprcxXfWHfNnVvbactUHirXZWhIHvNHR/+ZwE4eqVht29/1nEHjmQZV1JgFZBx5GCV gzjs92RO6OlVK+8AI93KOkFETZ0eisEG+2yspuribhfdGQE5ti24C4Mzp5shB4ArGHPB LHw0BZEYpraOjvWPTJQOhAt/UDVPjcYOXPLLoJBhxu/hdAWgDS0bJuJvwKoO7G3gDmZd JnSzar/OH+GUwiS2M5a3i9Y9oIhZmycSNm6mwLhkpVsGAnI/uMyFjJFIdDp3xvezEnA5 obqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yDmgZeUU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w23si115221plq.198.2019.01.14.03.20.32; Mon, 14 Jan 2019 03:20:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yDmgZeUU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726921AbfANLRn (ORCPT + 99 others); Mon, 14 Jan 2019 06:17:43 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:45670 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbfANLRm (ORCPT ); Mon, 14 Jan 2019 06:17:42 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0EBGXIv112802; Mon, 14 Jan 2019 05:16:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547464593; bh=XoRGeo3vT25+3Bl/ejetLFYJrvBGa4ChLOy2A0kveqs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yDmgZeUU5m/+1m15YIGzEMqT9TdBi5AlJiSwvnUD5c650LeI7FvSQEDbWOpz0mS1U Rjh76FrpYXgd9/Ou+8OPg0g+9wQLaUACjchTHY3MIq6w9agw21iDU1WFAnsiq/WCju HUy8y4w2ItqtPLRX7p/VUg8OzGZmf2O/tl/sFdKw= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0EBGXtf024151 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 14 Jan 2019 05:16:33 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 14 Jan 2019 05:16:33 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 14 Jan 2019 05:16:33 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0EBFd1f011560; Mon, 14 Jan 2019 05:16:30 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Lorenzo Pieralisi , Gustavo Pimentel , Alan Douglas , Shawn Lin , Heiko Stuebner CC: Bjorn Helgaas , Jingoo Han , , , , , Subject: [PATCH v2 13/15] PCI: rockchip: Remove pci_epf_linkup from Rockchip EP driver Date: Mon, 14 Jan 2019 16:45:11 +0530 Message-ID: <20190114111513.21618-14-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190114111513.21618-1-kishon@ti.com> References: <20190114111513.21618-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pci_epf_linkup is intended to be invoked if the EPC supports linkup notification. Now that pci-epf-test uses get_features callback, which indicates Rockchip EP driver doesn't support linkup notification, remove pci_epf_linkup from Rockchip EP driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/pcie-rockchip-ep.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/pci/controller/pcie-rockchip-ep.c b/drivers/pci/controller/pcie-rockchip-ep.c index 9b60ad323ac7..a5d799e2dff2 100644 --- a/drivers/pci/controller/pcie-rockchip-ep.c +++ b/drivers/pci/controller/pcie-rockchip-ep.c @@ -499,9 +499,6 @@ static int rockchip_pcie_ep_start(struct pci_epc *epc) rockchip_pcie_write(rockchip, cfg, PCIE_CORE_PHY_FUNC_CFG); - list_for_each_entry(epf, &epc->pci_epf, list) - pci_epf_linkup(epf); - return 0; } -- 2.17.1