Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1572790pxb; Tue, 8 Feb 2022 22:43:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlNDA3gSdQ56QjD0zlKyKyjqbX6Q/kOdKPS6KZ4iNU2dEesHBTRThJEnNqx8z7LYAua5va X-Received: by 2002:a17:90b:1bcc:: with SMTP id oa12mr940884pjb.93.1644389025287; Tue, 08 Feb 2022 22:43:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644389025; cv=none; d=google.com; s=arc-20160816; b=mJL6IZJ4RoVuoZlgSR2/61hDOkdft41sx94oplKrdEwvV0y2ZKZtvxPG+lsEyPoUl1 NDq3RtbeYAQ665xODN3ZdlsAci9Pnv7JAVVJeiGVr82348KjfiNEejogjBrxxQ5yR82s ITcB5r1l9IEVJRp9WJT0Xt/FLgEV09tEPDQMYXARuzh5hX5iLxTTE2EZsRdLte8OG8lc 9/L9NL7mywO7Ucrauq0CH0TkH3+eSBqpAHj2ddzICZyyo3mogeTsNGZlQ5eb1ke6oJzj 5UUYlhgg5O/DT5bVqruBG57qAqcJGqpS8pSu55FfgTUgAfakLRBxyJmnKRWO9FyzdqR2 1AdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cWnnC6X/3LfUNvFejjOf/o+BhqQPL36rKux7esaUqwU=; b=yXpSwGUMVqLDrfjdKzCnpckssZB/7ir/4bH+quAcZ8OcDHqNWhU1JhPW5dJ1LBsQw6 curVyjGc7sw0TIG7OJCgya2z3QoK1hbU2mKbXNe8oFk1rZxewJQYA+yTMKtk02hiPk4T xJkHAE7LFSkySKooqGLoOpufSbpY3u//vam3glBGMzfe4urTUUYJYXSF4knW2K39pQqT 6H/0XDACaR+hiSikyOxOBwxui1PYvadleydpjynU/f3Oo1PidUJ9/f5Ph7ZXkk/FrKdD XGxwqna8v6uVaWCYMk0sAw/oP1WHHYeCz8tiRDq4i8AZ2yKBbAJw8qOL37lH7DRWb7Sr f/PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k3O5GQan; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l22si15453450pfc.103.2022.02.08.22.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:43:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k3O5GQan; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EEACFC02B642; Tue, 8 Feb 2022 22:24:46 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245618AbiBICnv (ORCPT + 99 others); Tue, 8 Feb 2022 21:43:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244139AbiBICBs (ORCPT ); Tue, 8 Feb 2022 21:01:48 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13150C06157B; Tue, 8 Feb 2022 18:01:48 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id cf2so2103191edb.9; Tue, 08 Feb 2022 18:01:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cWnnC6X/3LfUNvFejjOf/o+BhqQPL36rKux7esaUqwU=; b=k3O5GQanRHIEkNhPqjnOuYe6aHao9DnrKOReuSxBQnvFZ+7kJ4ld9HSkvPcFdLwXVo yqyNAC6PYUb5K1s9oF/yXHBqJWt5s8dAv4PwGG7HwiQ3+yU/5z7ctjiKMb+YfWclAgOk wU8hOcidH7oOlj8TmXjkOAkyEVb/QvNxx/Jw4B7hQUhRLGE+Zdm/P04KUdc2WX9GqjAo Qd0fT4gwCm9V3gMCL5qpAJ1+ctAa9xhVf4cIgk2S+6JXY9WgxlVOYPiKbpK8IUfAqJxq JSfnQH9dls1YYKs/Z4yMwuA/NcdqMWfa/RpzfkILKLIjXM1U7nglBYZqBSmNb0XG47bJ YhpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cWnnC6X/3LfUNvFejjOf/o+BhqQPL36rKux7esaUqwU=; b=p7aBBjOrrzAFPKHDDtSbHGAbb4gmBD43BPx/twURg24jDZsllQA359XLBZk68RkBKv YV24kzNfX2Tu3peia4DZ50gV9q4NGoxisWSBM2sLJb/ahImRkB+rktG89LDzSoO7fE2d 7nn288CGfOFuJGTAjygLmSGdxIhUB7okhSgsBAUO2Ft83yUTo5q/Rxe3kD8p5zrf0yqQ IZLTKaU6rjZw071WdNzxxOzqzh7vX1O91yxKx40wbhoD9ilxsJ1lh3rdWhHkPhEYMtFa HhxS0x1dEAjpl4HMa2JUUUXoYkiFz1QzRB1BGPUkcDmA4+kz2EH2soWo0ajGLKFfBYzN T0zw== X-Gm-Message-State: AOAM530Aoi5HctSKIvi5PK7+w6JBjXEFYCx6zFXrS+2cCsNGe07X6Pc8 UUsNQgpV37liodgF2vg8hdF9y776V7nNd9S5zbk= X-Received: by 2002:a05:6402:440a:: with SMTP id y10mr199806eda.215.1644372106542; Tue, 08 Feb 2022 18:01:46 -0800 (PST) MIME-Version: 1.0 References: <1644290735-3797-1-git-send-email-hongxing.zhu@nxp.com> <1644290735-3797-8-git-send-email-hongxing.zhu@nxp.com> In-Reply-To: From: Fabio Estevam Date: Tue, 8 Feb 2022 23:01:36 -0300 Message-ID: Subject: Re: [PATCH v6 7/8] PCI: imx6: Disable enabled clocks and regulators after link is down To: Hongxing Zhu Cc: Lucas Stach , Bjorn Helgaas , Mark Brown , Lorenzo Pieralisi , Jingoo Han , "linux-pci@vger.kernel.org" , dl-linux-imx , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , Sascha Hauer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On Tue, Feb 8, 2022 at 10:56 PM Hongxing Zhu wrote: > Do you mean that we should ignore the return of dw_pcie_host_init() and > finish the _probe without an error return? Yes, we should not return an error on probe if the link is down. Thanks