Merge pull request #316 from BU-Automation/topic/js/ksz-handle-defere-probe
net: dsa: microchip: ksz8: on exit hold switch in reset
This commit is contained in:
@@ -1487,6 +1487,8 @@ int ksz8_switch_init(struct ksz_device *dev)
|
||||
void ksz8_switch_exit(struct ksz_device *dev)
|
||||
{
|
||||
ksz8_reset_switch(dev);
|
||||
if (dev->reset_gpio)
|
||||
gpiod_set_value_cansleep(dev->reset_gpio, 1);
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Tristram Ha <Tristram.Ha@microchip.com>");
|
||||
|
||||
Reference in New Issue
Block a user