Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2133759imm; Mon, 16 Jul 2018 02:51:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpest4CBEj0SX98lu5SHUUvb2Sc53ITg0ceLDAnHVigik/MU+GErICF/lBeat0Nb3M4CGruw X-Received: by 2002:a62:21c3:: with SMTP id o64-v6mr17259368pfj.21.1531734671586; Mon, 16 Jul 2018 02:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531734671; cv=none; d=google.com; s=arc-20160816; b=ZpkRzAI/51Of9giDCWN1rYT0m4ik8H2tp2069J7YMgjkh3kmsO7OsR1Uju44YTGqbB nbClnxHYFmf8Q8nY5wFjL7L/BZBKBlQ9ynrh6e3kvau6F/HDh1QiFNzGfFTeD6vL7b7o nrZmS7o8spc26JRzhUuquBM7icFdjWM2dc4mt6rJX8WXApDPgr2H30xphbo3E3QGNsz6 dmN2jdcm+XNgMsH2Qfo2Eqb1v7gHtKeyYfgTP9HaLEZvox3GE+BuI0AA1ejrk/Pkjyj9 QI1urkHkmuz0UzqdwF9IjY4Oj6zAsC/fub1SXsIlB6wZ+ZsX1t3ONFAqbm0dKtX+ybO9 H9HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5WiN9K2ct3akArHssINgj5npO/3gQootVUeqpcP90do=; b=lsatpcMr1Ov+eEMhRvGDLfwLc00l/g6yZwyw/893spUXbGaplWqEDybOHUYgwdPGFN 76kv1BUDHfXo12em1eGI6xGQY3k5ULCc9SMuCFYZU4SkKul69yVxVM2Ge4b9PAs/nAAO M/jXm6e4hNvHvsjdFnvmrxBnSa2vaHhQmWGVzlzbioa9NAp9t+txKmZ3k2XDDkA5WkFm PRAtGNF5spyn55XAp6XaGjUN6sCIL64hIU3qNrNfEUM+6NNoFirfjRArUrfetGF7xr31 vVeViEjpWtcvZfWOzMiKm7JwnypdQW66d8BpAN7Qs+rbaLIpvQcT1rT6poG28pQ82Y92 1r+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n59-v6si29243614plb.198.2018.07.16.02.50.56; Mon, 16 Jul 2018 02:51:11 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729883AbeGPKQ5 (ORCPT + 99 others); Mon, 16 Jul 2018 06:16:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53778 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726851AbeGPKQ5 (ORCPT ); Mon, 16 Jul 2018 06:16:57 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 72CF9AD2; Mon, 16 Jul 2018 09:50:20 +0000 (UTC) Date: Mon, 16 Jul 2018 11:50:18 +0200 From: Greg Kroah-Hartman To: Johan Hovold Cc: sean.wang@mediatek.com, robh+dt@kernel.org, mark.rutland@arm.com, marcel@holtmann.org, johan.hedberg@gmail.com, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Ulf Hansson , Jiri Slaby , linux-serial@vger.kernel.org Subject: Re: [PATCH v5 2/7] serdev: add dev_pm_domain_attach|detach() Message-ID: <20180716095018.GA11078@kroah.com> References: <20180715085628.GI10204@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180715085628.GI10204@localhost> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 15, 2018 at 10:56:28AM +0200, Johan Hovold wrote: > On Mon, Jul 09, 2018 at 11:56:58PM +0800, sean.wang@mediatek.com wrote: > > From: Sean Wang > > > > In order to open up the required power gate before any operation can be > > effectively performed over the serial bus between CPU and serdev, it's > > clearly essential to add common attach functions for PM domains to serdev > > at the probe phase. > > > > Similarly, the relevant dettach function for the PM domains should be > > properly and reversely added at the remove phase. > > > > Signed-off-by: Sean Wang > > Reviewed-by: Ulf Hansson > > Cc: Rob Herring > > Cc: Ulf Hansson > > Cc: Greg Kroah-Hartman > > Cc: Jiri Slaby > > Cc: linux-serial@vger.kernel.org > > Reviewed-by: Johan Hovold Thanks, now applied. greg k-h