Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-19 Thread Sergei Shtylyov
Hello. On 02/17/2014 08:48 PM, Florian Fainelli wrote: The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler for the PHY. Simplify the code setting irq and set

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-18 Thread Sergei Shtylyov
Hello. On 02/18/2014 08:02 PM, Grant Likely wrote: On Mon, 17 Feb 2014 16:29:40 +, Ben Dooks wrote: The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler fo

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-18 Thread Grant Likely
On Tue, 18 Feb 2014 09:40:39 +, Ben Dooks wrote: > On 18/02/14 09:30, Grant Likely wrote: > > On Mon, 17 Feb 2014 16:29:40 +, Ben Dooks > > wrote: > >> The of_mdiobus_register_phy() is not setting phy->irq this causing > >> some drivers to incorrectly assume that the PHY does not have an

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-18 Thread Ben Dooks
On 18/02/14 09:30, Grant Likely wrote: On Mon, 17 Feb 2014 16:29:40 +, Ben Dooks wrote: The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler for the PHY. Si

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-18 Thread Grant Likely
On Mon, 17 Feb 2014 16:29:40 +, Ben Dooks wrote: > The of_mdiobus_register_phy() is not setting phy->irq this causing > some drivers to incorrectly assume that the PHY does not have an > IRQ associated with it or install an interrupt handler for the > PHY. > > Simplify the code setting irq an

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Ben Dooks
On 17/02/14 17:48, Florian Fainelli wrote: 2014-02-17 9:42 GMT-08:00 Ben Dooks : On 17/02/14 17:26, Florian Fainelli wrote: Hi Ben, 2014-02-17 8:29 GMT-08:00 Ben Dooks : The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does n

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Ben Dooks
On 17/02/14 17:26, Florian Fainelli wrote: Hi Ben, 2014-02-17 8:29 GMT-08:00 Ben Dooks : The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler for the PHY. Simpl

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Ben Dooks
On 17/02/14 17:26, Florian Fainelli wrote: Hi Ben, 2014-02-17 8:29 GMT-08:00 Ben Dooks : The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler for the PHY. Simpl

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Florian Fainelli
2014-02-17 9:42 GMT-08:00 Ben Dooks : > On 17/02/14 17:26, Florian Fainelli wrote: >> >> Hi Ben, >> >> 2014-02-17 8:29 GMT-08:00 Ben Dooks : >>> >>> The of_mdiobus_register_phy() is not setting phy->irq this causing >>> some drivers to incorrectly assume that the PHY does not have an >>> IRQ associ

Re: [PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Florian Fainelli
Hi Ben, 2014-02-17 8:29 GMT-08:00 Ben Dooks : > The of_mdiobus_register_phy() is not setting phy->irq this causing > some drivers to incorrectly assume that the PHY does not have an > IRQ associated with it or install an interrupt handler for the > PHY. > > Simplify the code setting irq and set th

[PATCH] of_mdio: fix phy interrupt passing

2014-02-17 Thread Ben Dooks
The of_mdiobus_register_phy() is not setting phy->irq this causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it or install an interrupt handler for the PHY. Simplify the code setting irq and set the phy->irq at the same time so that the case if mdio->irq