Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515502

Re: [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx
Date 2016-11-05 06:30 +0100
Message-ID <sA1Id-3Mb-3@gated-at.bofh.it> (permalink)
References <szsKt-664-7@gated-at.bofh.it> <szsKu-664-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Thursday 03 November 2016 09:33 PM, Axel Haslam wrote:
> The ohci device name has changed in the board configuraion files,
> hence, change the phy lookup table to match the new name.
> 
> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>

merged, thanks.

-Kishon
> ---
>  drivers/phy/phy-da8xx-usb.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/phy/phy-da8xx-usb.c b/drivers/phy/phy-da8xx-usb.c
> index 32ae78c..c85fb0b 100644
> --- a/drivers/phy/phy-da8xx-usb.c
> +++ b/drivers/phy/phy-da8xx-usb.c
> @@ -198,7 +198,8 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
>  	} else {
>  		int ret;
>  
> -		ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0");
> +		ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy",
> +					"ohci-da8xx");
>  		if (ret)
>  			dev_warn(dev, "Failed to create usb11 phy lookup\n");
>  		ret = phy_create_lookup(d_phy->usb20_phy, "usb-phy",
> @@ -216,7 +217,7 @@ static int da8xx_usb_phy_remove(struct platform_device *pdev)
>  
>  	if (!pdev->dev.of_node) {
>  		phy_remove_lookup(d_phy->usb20_phy, "usb-phy", "musb-da8xx");
> -		phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0");
> +		phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci-da8xx");
>  	}
>  
>  	return 0;
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] davinci: ohci: fix usb ohci device name Axel Haslam <ahaslam@baylibre.com> - 2016-11-03 17:10 +0100
  [PATCH v2 3/3] usb: ohci-da8xx: rename driver to ohci-da8xx Axel Haslam <ahaslam@baylibre.com> - 2016-11-03 17:10 +0100
  [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx Axel Haslam <ahaslam@baylibre.com> - 2016-11-03 17:10 +0100
    Re: [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to  ohci-da8xx Kishon Vijay Abraham I <kishon@ti.com> - 2016-11-05 06:30 +0100
  Re: [PATCH v2 0/3] davinci: ohci: fix usb ohci device name David Lechner <david@lechnology.com> - 2016-11-03 17:50 +0100

csiph-web