Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66739C4332F for ; Mon, 20 Dec 2021 10:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231388AbhLTKsI (ORCPT ); Mon, 20 Dec 2021 05:48:08 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:59320 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhLTKsH (ORCPT ); Mon, 20 Dec 2021 05:48:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0F88DB80E33; Mon, 20 Dec 2021 10:48:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01AFAC36AE8; Mon, 20 Dec 2021 10:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639997284; bh=biq3Oji5lH9jv5ZgoieqKXMSnbQGIYrxkITVZ1ZAKtc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ZEwAYaU/VDlIdTKT9TuGq57nryAlU7tYBWTUtnkuZF6j+nP2CGF1oVFGF6vLsR0SE wzudqobroQ6jwu65GNCIHpsiYntG4qvS728CaR/1hLW4dNniO0V3jWvG0WBjpRPkpj kOfHbTxnmIrZDfvaizQA4HKNeQ3AhvG/GJ1QhST+H/+N3U65oEiBtUzmLS8+zoHtkW gNjXcrBNCYXHFn4KH0Vu6vDCJNsqkS5QtpkHQFmSxum4B6VK4tPJjwG2OoiGNWMH6j nmp9rAkq+RhHNus39lYBHPoWS7JLjD3N76SosRM/gk48N2kk7XEOsyb+qwaf9PaujB xL806ojzThULg== Subject: Re: [PATCH 3/6] usb: dwc3: Drop unneeded calls to platform_get_resource_byname() To: Lad Prabhakar , Rob Herring , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Peter Chen , Pawel Laszczak , Aswath Govindraju , Felipe Balbi , Rui Miguel Silva , Bin Liu Cc: linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar References: <20211220010411.12075-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211220010411.12075-4-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Roger Quadros Message-ID: <0dce4df3-5c44-62ab-97a4-93a523e08076@kernel.org> Date: Mon, 20 Dec 2021 12:47:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211220010411.12075-4-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/12/2021 03:04, Lad Prabhakar wrote: > Drop unneeded calls to platform_get_resource_byname() from > dwc3_host_init(). dwc3_host_init() already calls dwc3_host_get_irq() > which gets the irq number, just use this to get the IRQ resource data > and fill the xhci_resources[1] > > Signed-off-by: Lad Prabhakar Reviewed-by: Roger Quadros -- cheers, -roger