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


Groups > linux.kernel > #1476914 > unrolled thread

[PATCH] phy: da8xx-usb: Fix syscon device name

Started byDavid Lechner <david@lechnology.com>
First post2016-09-05 21:50 +0200
Last post2016-09-06 06:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] phy: da8xx-usb: Fix syscon device name David Lechner <david@lechnology.com> - 2016-09-05 21:50 +0200
    Re: [PATCH] phy: da8xx-usb: Fix syscon device name Kishon Vijay Abraham I <kishon@ti.com> - 2016-09-06 06:20 +0200

#1476914 — [PATCH] phy: da8xx-usb: Fix syscon device name

FromDavid Lechner <david@lechnology.com>
Date2016-09-05 21:50 +0200
Subject[PATCH] phy: da8xx-usb: Fix syscon device name
Message-ID<se841-89I-11@gated-at.bofh.it>
The syscon device in board config/device tree has been renamed.

Signed-off-by: David Lechner <david@lechnology.com>
---

This is a follow-up of the "da8xx USB PHY platform devices and clocks" patch
series. Just a small but important detail that slipped through the cracks.

 drivers/phy/phy-da8xx-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/phy-da8xx-usb.c b/drivers/phy/phy-da8xx-usb.c
index b2e59b6..32ae78c 100644
--- a/drivers/phy/phy-da8xx-usb.c
+++ b/drivers/phy/phy-da8xx-usb.c
@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
 		d_phy->regmap = syscon_regmap_lookup_by_compatible(
 							"ti,da830-cfgchip");
 	else
-		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0");
+		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
 	if (IS_ERR(d_phy->regmap)) {
 		dev_err(dev, "Failed to get syscon\n");
 		return PTR_ERR(d_phy->regmap);
-- 
2.7.4

[toc] | [next] | [standalone]


#1477060

FromKishon Vijay Abraham I <kishon@ti.com>
Date2016-09-06 06:20 +0200
Message-ID<seg1z-5iq-1@gated-at.bofh.it>
In reply to#1476914

On Tuesday 06 September 2016 01:15 AM, David Lechner wrote:
> The syscon device in board config/device tree has been renamed.
> 
> Signed-off-by: David Lechner <david@lechnology.com>

merged, thanks.

-Kishon
> ---
> 
> This is a follow-up of the "da8xx USB PHY platform devices and clocks" patch
> series. Just a small but important detail that slipped through the cracks.
> 
>  drivers/phy/phy-da8xx-usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/phy-da8xx-usb.c b/drivers/phy/phy-da8xx-usb.c
> index b2e59b6..32ae78c 100644
> --- a/drivers/phy/phy-da8xx-usb.c
> +++ b/drivers/phy/phy-da8xx-usb.c
> @@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
>  		d_phy->regmap = syscon_regmap_lookup_by_compatible(
>  							"ti,da830-cfgchip");
>  	else
> -		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0");
> +		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
>  	if (IS_ERR(d_phy->regmap)) {
>  		dev_err(dev, "Failed to get syscon\n");
>  		return PTR_ERR(d_phy->regmap);
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web