Commit dc536a70 authored by Daniel Drake's avatar Daniel Drake Committed by Jeff Garzik

[PATCH] zd1211rw: Remove invalid CR write during ZD1211 phy reset

The vendor driver only does the CR123 write for non-USB devices (which
don't exist on the consumer market)
Signed-off-by: default avatarDaniel Drake <dsd@gentoo.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 25ac6c26
......@@ -684,17 +684,17 @@ static int zd1211_hw_reset_phy(struct zd_chip *chip)
{ CR111, 0x27 }, { CR112, 0x27 }, { CR113, 0x27 },
{ CR114, 0x27 }, { CR115, 0x26 }, { CR116, 0x24 },
{ CR117, 0xfc }, { CR118, 0xfa }, { CR120, 0x4f },
{ CR123, 0x27 }, { CR125, 0xaa }, { CR127, 0x03 },
{ CR128, 0x14 }, { CR129, 0x12 }, { CR130, 0x10 },
{ CR131, 0x0C }, { CR136, 0xdf }, { CR137, 0x40 },
{ CR138, 0xa0 }, { CR139, 0xb0 }, { CR140, 0x99 },
{ CR141, 0x82 }, { CR142, 0x54 }, { CR143, 0x1c },
{ CR144, 0x6c }, { CR147, 0x07 }, { CR148, 0x4c },
{ CR149, 0x50 }, { CR150, 0x0e }, { CR151, 0x18 },
{ CR160, 0xfe }, { CR161, 0xee }, { CR162, 0xaa },
{ CR163, 0xfa }, { CR164, 0xfa }, { CR165, 0xea },
{ CR166, 0xbe }, { CR167, 0xbe }, { CR168, 0x6a },
{ CR169, 0xba }, { CR170, 0xba }, { CR171, 0xba },
{ CR125, 0xaa }, { CR127, 0x03 }, { CR128, 0x14 },
{ CR129, 0x12 }, { CR130, 0x10 }, { CR131, 0x0C },
{ CR136, 0xdf }, { CR137, 0x40 }, { CR138, 0xa0 },
{ CR139, 0xb0 }, { CR140, 0x99 }, { CR141, 0x82 },
{ CR142, 0x54 }, { CR143, 0x1c }, { CR144, 0x6c },
{ CR147, 0x07 }, { CR148, 0x4c }, { CR149, 0x50 },
{ CR150, 0x0e }, { CR151, 0x18 }, { CR160, 0xfe },
{ CR161, 0xee }, { CR162, 0xaa }, { CR163, 0xfa },
{ CR164, 0xfa }, { CR165, 0xea }, { CR166, 0xbe },
{ CR167, 0xbe }, { CR168, 0x6a }, { CR169, 0xba },
{ CR170, 0xba }, { CR171, 0xba },
/* Note: CR204 must lead the CR203 */
{ CR204, 0x7d },
{ },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment