rt2x00: fix voltage setting for RT3572/RT3592
authorMarc Kleine-Budde <mkl@blackshift.org>
Sun, 26 Aug 2012 22:26:37 +0000 (00:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 5 Sep 2012 18:53:30 +0000 (14:53 -0400)
commitd0f21fe6585dda550b279ceccd2609111d7f1baa
tree2396a51ea21e2c026623b1d9d93a2859dd68f5a8
parentda25186fc605af8ad636073621fa326fbc23a130
rt2x00: fix voltage setting for RT3572/RT3592

According to the vendor driver v2.6.0.1, during the rf register init the SRAM
voltage should be increased to 1.35V and after 1ms decreased back to 1.2V. This
patch adds the field setting of LDO_CFG0_LDO_CORE_VLEVEL accordingly.

Cc: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@blackshift.org>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c