Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

b43: N-PHY: workaround BCM43224 hw bug in writing table id 9

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Rafał Miłecki and committed by
John W. Linville
9a2e85de 3c17dd41

+7
+7
drivers/net/wireless/b43/tables_nphy.c
··· 2932 2932 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); 2933 2933 2934 2934 for (i = 0; i < nr_elements; i++) { 2935 + /* Auto increment broken + caching issue on BCM43224? */ 2936 + if ((offset >> 10) == 9 && dev->dev->chip_id == 43224 && 2937 + dev->dev->chip_rev == 1) { 2938 + b43_phy_read(dev, B43_NPHY_TABLE_DATALO); 2939 + b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset + i); 2940 + } 2941 + 2935 2942 switch (type) { 2936 2943 case B43_NTAB_8BIT: 2937 2944 value = *data;