Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3656888pxu; Mon, 30 Nov 2020 07:41:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFV0W13lHi/JlcaQhI8KRs75jpesTpnWt/QYAwD5Anf2vxr2PINrP/IAbTUr9Cw6N9CGmn X-Received: by 2002:a17:906:7b8d:: with SMTP id s13mr20672921ejo.169.1606750899474; Mon, 30 Nov 2020 07:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606750899; cv=none; d=google.com; s=arc-20160816; b=lSvx5pAm/6NPXaDAc8jfwcSjK2TyHBbQ3/xb208ecResTDqHb6U3hhgpo5qsAVHWwZ UXEW9QjuyxEMN1GCrWROcflRIrrjew+2DW4ftCUT7BrTJQlIUqk+2Mh4kok+r+I4pv+8 CpI1KMLQ9gCYYYFQd2fQTcpcahDAZlF3YErXYYlPV5O6drA99RQllWSuX5CwVVRa1ZSI LXdO7uq/0rsqO0mr60/IRFVkiBe5o7Pi/jlgXR7JXjIVlPjAqSDE2FWsLpyKjCDw+cWj E5a0qbVJJgJxNtOEtQql9lELyW7d5k6s/gfnHLJyW6qt7HVVVCcMMKZ5E122PthgGThV Vbdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N1xSRZFZCySrFcOALCBDzyAB+PkRLgyjfrTaS7iu5zY=; b=K3tZkJb46fXzqWaLMjVvMQRlkuhwjKW1cjSfPP9feYtL9FeXyDzcRWBSMwFq0VfWy8 9/nYBqlOwAJ04/WDVmZDCDyWGFEVDRbXYyhzobRaMi7vANJktyc8u+EEU/QXl+8NkYZY Ace/XIxANGHeXB0SuJ/748XAnn+vDvs0ODFO39qo7Jj6DzBE/TkgopQ8e9xkNPAm48Mu q2aDCHy5Z3AAwhQmIda9CDGBQra1FFL0EqkU+jyaH7OK8doFLfmfbZX1GDe2HVdiKbs4 tsFFnvj7pUZlP+MR0fGUsjfe3gogRn58oZEt1wbHt+x8DttYAMkiPKW6RjpfAyNXO7ko 6oKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TJNutTEN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si11077594ejd.502.2020.11.30.07.41.15; Mon, 30 Nov 2020 07:41:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TJNutTEN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728294AbgK3PiK (ORCPT + 99 others); Mon, 30 Nov 2020 10:38:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:43516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728156AbgK3PiI (ORCPT ); Mon, 30 Nov 2020 10:38:08 -0500 Received: from localhost (unknown [122.171.214.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9140020725; Mon, 30 Nov 2020 15:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606750647; bh=17KfgSyzR01zJgRuyyJ5oyibbOOrqhUpARQ2iG03vzQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TJNutTENGTfuQZKw+RIkJji45vVDS0Hs2s8Pj9ywQt1eR04niSRjPljQh+4gAV2r9 6HAB/eBcla8On1Epw0kdke1h56rbDGFn7QSaGzP9OIVZpJwakNOxhw/NZU+pXhSDfn t5E8q4ZfpimAViGKrVNf0/MSERKyv2wEwK8yngnA= Date: Mon, 30 Nov 2020 21:07:22 +0530 From: Vinod Koul To: JC Kuo Cc: kishon@ti.com, gregkh@linuxfoundation.org, thierry.reding@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, nkristam@nvidia.com Subject: Re: [PATCH v1] phy: tegra: xusb: Fix usb_phy device driver field Message-ID: <20201130153722.GU8403@vkoul-mobl> References: <20201117083803.185209-1-jckuo@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117083803.185209-1-jckuo@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-11-20, 16:38, JC Kuo wrote: > In commit "phy: tegra: xusb: Add usb-phy support", an OTG capable PHY > device, such as phy-usb2.0 device of Jetson-TX1 platform, will be > bound to the tegra-xusb-padctl driver by the following line in > tegra_xusb_setup_usb_role_switch(). > > port->usb_phy.dev->driver = port->padctl->dev->driver; > > With this, dev_pm_ops set of tegra-xusb-padctl driver will be invoked > for the OTG capable PHY incorrectly as below logs show. > > This commit fixes the issue by assigning an empty driver to it. Applied, thanks -- ~Vinod