diff options
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r-- | drivers/net/smsc911x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index cbf520d38eac..ffbaa608e002 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -736,7 +736,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev) | |||
736 | SMSC_TRACE(HW, "configuring for carrier OK"); | 736 | SMSC_TRACE(HW, "configuring for carrier OK"); |
737 | if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) && | 737 | if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) && |
738 | (!pdata->using_extphy)) { | 738 | (!pdata->using_extphy)) { |
739 | /* Restore orginal GPIO configuration */ | 739 | /* Restore original GPIO configuration */ |
740 | pdata->gpio_setting = pdata->gpio_orig_setting; | 740 | pdata->gpio_setting = pdata->gpio_orig_setting; |
741 | smsc911x_reg_write(pdata, GPIO_CFG, | 741 | smsc911x_reg_write(pdata, GPIO_CFG, |
742 | pdata->gpio_setting); | 742 | pdata->gpio_setting); |
@@ -750,7 +750,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev) | |||
750 | if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) && | 750 | if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) && |
751 | (!pdata->using_extphy)) { | 751 | (!pdata->using_extphy)) { |
752 | /* Force 10/100 LED off, after saving | 752 | /* Force 10/100 LED off, after saving |
753 | * orginal GPIO configuration */ | 753 | * original GPIO configuration */ |
754 | pdata->gpio_orig_setting = pdata->gpio_setting; | 754 | pdata->gpio_orig_setting = pdata->gpio_setting; |
755 | 755 | ||
756 | pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_; | 756 | pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_; |