提交 c8f9b0fe 编写于 作者: E Eytan Lifshitz 提交者: Johannes Berg

iwlwifi: fix spelling and value in LED registers.

Fix typo in the macro name and the wrong value.
Signed-off-by: NEytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 0aa86df6
...@@ -69,7 +69,7 @@ static const struct ieee80211_tpt_blink iwl_blink[] = { ...@@ -69,7 +69,7 @@ static const struct ieee80211_tpt_blink iwl_blink[] = {
/* Set led register off */ /* Set led register off */
void iwlagn_led_enable(struct iwl_priv *priv) void iwlagn_led_enable(struct iwl_priv *priv)
{ {
iwl_write32(priv->trans, CSR_LED_REG, CSR_LED_REG_TRUN_ON); iwl_write32(priv->trans, CSR_LED_REG, CSR_LED_REG_TURN_ON);
} }
/* /*
......
...@@ -381,8 +381,8 @@ ...@@ -381,8 +381,8 @@
/* LED */ /* LED */
#define CSR_LED_BSM_CTRL_MSK (0xFFFFFFDF) #define CSR_LED_BSM_CTRL_MSK (0xFFFFFFDF)
#define CSR_LED_REG_TRUN_ON (0x78) #define CSR_LED_REG_TURN_ON (0x60)
#define CSR_LED_REG_TRUN_OFF (0x38) #define CSR_LED_REG_TURN_OFF (0x20)
/* ANA_PLL */ /* ANA_PLL */
#define CSR50_ANA_PLL_CFG_VAL (0x00880300) #define CSR50_ANA_PLL_CFG_VAL (0x00880300)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册