Re: [PATCH] [net-next][v2] net: qcom/emac: claim the irq only when the device is opened

2017-01-23 Thread David Miller
From: Timur Tabi Date: Fri, 20 Jan 2017 17:21:04 -0600 > During reset, functions emac_mac_down() and emac_mac_up() are called, > so we don't want to free and claim the IRQ unnecessarily. Move those > operations to open/close. > > Signed-off-by: Timur Tabi > --- > > Notes: > v2: keep synch

Re: [PATCH] [net-next][v2] net: qcom/emac: claim the irq only when the device is opened

2017-01-21 Thread Lino Sanfilippo
Hi Timur, On 21.01.2017 00:21, Timur Tabi wrote: During reset, functions emac_mac_down() and emac_mac_up() are called, so we don't want to free and claim the IRQ unnecessarily. Move those operations to open/close. Signed-off-by: Timur Tabi --- Notes: v2: keep synchronize_irq call where

[PATCH] [net-next][v2] net: qcom/emac: claim the irq only when the device is opened

2017-01-20 Thread Timur Tabi
During reset, functions emac_mac_down() and emac_mac_up() are called, so we don't want to free and claim the IRQ unnecessarily. Move those operations to open/close. Signed-off-by: Timur Tabi --- Notes: v2: keep synchronize_irq call where it is drivers/net/ethernet/qualcomm/emac/emac-mac.c