rtl8180: introduce functions for setting ANAPARAM 2 and 3 params
authorAndrea Merello <andrea.merello@gmail.com>
Wed, 26 Mar 2014 20:02:05 +0000 (21:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2014 18:20:08 +0000 (14:20 -0400)
commitff3cbc2cb606c8f804b611291efe207d07275a18
treed3596097c4113e4c4b7ff0dacd69c78aafda0bdc
parentfc32ac911ef49bb716ba52fab6b294f7a412e6be
rtl8180: introduce functions for setting ANAPARAM 2 and 3 params

rtl8180 has one register for analog converters setting ,rtl8185 has
two and rtl8187se has three.
Setting those registers require more than a simple write, and for
one of them a function is already provided.
This patch introduces functions for the other two.
rtl8187se will use them. rtl8185 doesen't yet, but should

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c
drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
drivers/net/wireless/rtl818x/rtl8180/rtl8225.c