RE: [PATCH v2 1/8] phy: generic: add error trace to detect PHY issue in uclass

2020-02-21 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 18 février 2020 18:40 > > On 2/18/20 9:38 AM, Patrick Delaunay wrote: > [...] > > static inline struct phy_ops *phy_dev_ops(struct udevice *dev) { @@ > > -109,56 +110,86 @@ int generic_phy_get_by_name(struct udevice *dev, > > const char *phy_name, i

Re: [PATCH v2 1/8] phy: generic: add error trace to detect PHY issue in uclass

2020-02-18 Thread Marek Vasut
On 2/18/20 9:38 AM, Patrick Delaunay wrote: [...] > static inline struct phy_ops *phy_dev_ops(struct udevice *dev) > { > @@ -109,56 +110,86 @@ int generic_phy_get_by_name(struct udevice *dev, const > char *phy_name, > int generic_phy_init(struct phy *phy) > { > struct phy_ops const *ops;

[PATCH v2 1/8] phy: generic: add error trace to detect PHY issue in uclass

2020-02-18 Thread Patrick Delaunay
Add an error trace for PHY errors directly in generic phy functions provided by PHY uclass. Signed-off-by: Patrick Delaunay --- This patch is requested by Marek Vasut to avoid code duplication in usb host serie for dwc2: See http://patchwork.ozlabs.org/patch/1176048/#2297595 [U-Boot,RESEND,1/5]