Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The new route handling in ip_mc_finish_output() from 'net' overlapped with the new support for returning congestion notifications from BPF programs. In order to handle this I had to take the dev_loopback_xmit() calls out of the switch statement. The aquantia driver conflicts were simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -433,9 +433,9 @@ int ksz_switch_register(struct ksz_device *dev,
|
||||
return PTR_ERR(dev->reset_gpio);
|
||||
|
||||
if (dev->reset_gpio) {
|
||||
gpiod_set_value(dev->reset_gpio, 1);
|
||||
gpiod_set_value_cansleep(dev->reset_gpio, 1);
|
||||
mdelay(10);
|
||||
gpiod_set_value(dev->reset_gpio, 0);
|
||||
gpiod_set_value_cansleep(dev->reset_gpio, 0);
|
||||
}
|
||||
|
||||
mutex_init(&dev->dev_mutex);
|
||||
@@ -485,7 +485,7 @@ void ksz_switch_remove(struct ksz_device *dev)
|
||||
dsa_unregister_switch(dev->ds);
|
||||
|
||||
if (dev->reset_gpio)
|
||||
gpiod_set_value(dev->reset_gpio, 1);
|
||||
gpiod_set_value_cansleep(dev->reset_gpio, 1);
|
||||
|
||||
}
|
||||
EXPORT_SYMBOL(ksz_switch_remove);
|
||||
|
Reference in New Issue
Block a user