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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1745CC433F5 for ; Mon, 14 Feb 2022 03:10:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB5B882F70; Mon, 14 Feb 2022 04:10:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1644808244; bh=b9QboX036qSLKF+Kx6Y9gCHbctNA5kd7HgkNLHN9RKg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=IHOJQI7PQwFKLPTHe4TKchNCZjPRVht1RsNfnAqFUwydTolNNBBNIg8IkzaZr9eW/ WLmWUkaPZN1egQhNG2da+CLZ8zLGEfUCUWQblqqBn0qDl3xsshfF3+xDeKFUJ4PuF7 PikA//nDWmTPWkv9fLp9b0Q/g2J2eK8O3Rb5Tv3zxGXfe8itHsINDYbe4wr74AF9Be c5ufh3gcDuRlNsteSZdifUqqoK5OJ9IGY3p2Lsb0gEB0xU1XZxcXJo4XJi6N7TLLj1 bhilTvRtuWOwCvmhPYPceoiE84m0Me18n4amAxz6ukDNYBu46Uh9qZGiVqLPm3cKvv RwqaYgrjVZQEg== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7C039815D1; Mon, 14 Feb 2022 04:10:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1644808242; bh=b9QboX036qSLKF+Kx6Y9gCHbctNA5kd7HgkNLHN9RKg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=wRumNGGoS7cOhzO2xL4N7AwJbmTlS1G9xzrlUFg8NgCmZNcZ1HNurwrjm2LDXzEpH EW+L7Qkxeuq0VnUOUEJ5E/3yLzJpv/Ex2Jy8FaCLvZEkNHMm04tLdjnEuTomvaxY7o vZBi0dBsGORxAw82VkS4qKhopqchZi68q/VxuEJ8Q3fe6MGwEg7TLJYKyH3HKw8gNp aUEeYA3AyqkAC89rPHnyEDx2SY/r5assPOXigu05D6DEb9stsiaxQIgeFXBgBSgKPq aJ9y1qRq1wHonzsDoTX66Vkbh1VVq9eFRsThG1VmNxQ6BVchyDKSm5p+jdxWMBitLp 0lqRKl8pOUrSw== Message-ID: <7ee59aca-9ec9-7563-8720-6aecf048ba08@denx.de> Date: Mon, 14 Feb 2022 04:10:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH] usb: ehci-omap: Drop dead code Content-Language: en-US To: Adam Ford , u-boot@lists.denx.de Cc: trini@konsulko.com References: <20220212142640.1669851-1-aford173@gmail.com> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 2/14/22 01:05, Adam Ford wrote: > On Sat, Feb 12, 2022 at 8:26 AM Adam Ford wrote: >> >> omap_ehci_hcd_stop appears to be dead code, and omap_ehci_hcd_init >> is only called by the probe function, so it can be static to that >> function. Remove both from the header along with some additional >> checking for DM_USB. >> > > If it's not too late to hold off on this, I'd like to resend it as > part of a larger series. I have a whole series based on this that > converts the driver to use the phy subsystem in an effort to remove > the OMAP_EHCI_PHYx_RESET_GPIO from Kconfig that makes the driver more > device-tree friendly. Rather than doing this and waiting for the > reviews, merge, etc. then doing the follow-up, I'd like to just send > the series to avoid confusion as to any dependent patches. > > If it's too late, I'll just send the subsequent patches after this one > gets reviewed and merged. It is not too late, but make sure you CC someone who can actually test this EHCI OMAP stuff.