Re: [PATCH] ath9k: Revert change that broke AR928X on Acer Ferrari One

From: Adrian Chadd
Date: Sat Nov 26 2011 - 20:16:33 EST


Hm, considering the origina patch did this:

/* Clear Bit 14 of AR_WA after putting chip into Full Sleep mode. */
- if (AR_SREV_9300_20_OR_LATER(ah))
- REG_WRITE(ah, AR_WA,
- ah->WARegVal & ~AR_WA_D3_L1_DISABLE);
+ if (!AR_SREV_9480(ah))
+ REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE);

.. something tells me that perhaps the correct statement is:

if (AR_SREV_9300_20_OR_LATER(ah) && !AR_SREV_9480(ah))
REG_WRITE() ...

?


Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/