Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1145774pxb; Fri, 13 Nov 2020 05:32:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp1yfSYwXBiJ5CKFvXmZ58dW1v6700YSHAo1gyPmGdrNajDWUpPb6Khe7blPZZ4GgcrFjA X-Received: by 2002:a50:d5dd:: with SMTP id g29mr2504288edj.379.1605274354785; Fri, 13 Nov 2020 05:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605274354; cv=none; d=google.com; s=arc-20160816; b=XrMaAtsbjwhBs7wBji34grPvkR2HbdeYH1xbi1UDkgPpMwk3AKNCmPEiV5/7eDgL2p YH8Ys/QCO9kfpf7Wu6+G5jntpJQLs0si//DUWiPRSH/U/VRQC4Pctaz9oJqQRs5BLr7v xrG7obTvtdQCc55gBpP4O7ovn5l5s2Qj0K+YVhBdznHU8+Q5RzkTuEkSugHYTruxJ8Mr 9Z6rHANQbQj8KpW9BO859ohBboAzzaoFcffHwx/1dsAjppi2Tz4s0ebuIMLIc1gCS3sW Z6ZdbBDVgYmkgbIwPlYNW0ifBRsNAccflJyBRZMwCaxGPJ2CLEO8Qr7ygy6VPrNqF1Fh +ZXA== 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=xvX5vLCWc/TXcbxqLBvjKk+WUruc7a3YujBHKroW09c=; b=fbMlL8By6bqOvaKGP2L44oEejk78KzDhJ7q16uMfWG0J9pbkWNuIy6S9GI1jPKE0Gr gzwLJhlwrelnvh34jnGoj/Fbk5Ok5FnJ+7OJXa1KGkrBrWY7FUznAa0buvf5AA5JC3AI 9oFnZ38WZecFo1HAWmsK1G53B+m1ITIFCxij1W38AuNa15CtCapPfSCxXASeQdb3ltnm gy7GNRdeYnVqJ1UbHFTHKRaU1OP4bdRFlcc8xDEngOmivlaFbY72He8BlbjcbP35pQSs ixnbLArXd+84/Hnt/uaqmYU3gCa/5+pFbrOzzYZ5pV1qx9qQiQEAYmjC/yAMoCjmuxuV rmag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="y2uJSDY/"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si7328366edl.217.2020.11.13.05.32.12; Fri, 13 Nov 2020 05:32:34 -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="y2uJSDY/"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbgKMNaf (ORCPT + 99 others); Fri, 13 Nov 2020 08:30:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:38876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbgKMNaf (ORCPT ); Fri, 13 Nov 2020 08:30:35 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 651C82085B; Fri, 13 Nov 2020 13:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605274235; bh=TfJkZ2oHXjGcRW1STcAE522a0gfrypGFHLoxwZUnAT0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y2uJSDY/BM7HwdgOS/+gIHZSxAOdaxdhN0ZO4jkxD8hfbpk/7RtQMhIka6xqdA0J8 EiYx/IiEyoCUeIsS0L0eYFR8leprVXwuDrdmlfnHVQwpTxQ5rMseSD/pGJzZ5KIbCq z7WPR8g3uwIYWooxdDe+frEwQrT3NZmZdVm4UPKw= Date: Fri, 13 Nov 2020 14:31:31 +0100 From: Greg Kroah-Hartman To: Geert Uytterhoeven Cc: Chunfeng Yun , Bin Liu , Drew Fustini , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "usb: musb: convert to devm_platform_ioremap_resource_byname" Message-ID: References: <20201112135900.3822599-1-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112135900.3822599-1-geert+renesas@glider.be> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 02:59:00PM +0100, Geert Uytterhoeven wrote: > This reverts commit 2d30e408a2a6b3443d3232593e3d472584a3e9f8. > > On Beaglebone Black, where each interface has 2 children: > > musb-dsps 47401c00.usb: can't request region for resource [mem 0x47401800-0x474019ff] > musb-hdrc musb-hdrc.1: musb_init_controller failed with status -16 > musb-hdrc: probe of musb-hdrc.1 failed with error -16 > musb-dsps 47401400.usb: can't request region for resource [mem 0x47401000-0x474011ff] > musb-hdrc musb-hdrc.0: musb_init_controller failed with status -16 > musb-hdrc: probe of musb-hdrc.0 failed with error -16 > > Before, devm_ioremap_resource() was called on "dev" ("musb-hdrc.0" or > "musb-hdrc.1"), after it is called on "&pdev->dev" ("47401400.usb" or > "47401c00.usb"), leading to a duplicate region request, which fails. > Thanks for this, I'll go queue it up now. greg k-h