b43: Move Analog switching into phy code
This moves the Analog switching code into the PHY files. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
2b80848e38
commit
cb24f57fe6
@ -374,3 +374,8 @@ int b43_phy_shm_tssi_read(struct b43_wldev *dev, u16 shm_offset)
|
||||
|
||||
return average;
|
||||
}
|
||||
|
||||
void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on)
|
||||
{
|
||||
b43_write16(dev, B43_MMIO_PHY0, on ? 0 : 0xF4);
|
||||
}
|
||||
|
Reference in New Issue
Block a user