ssb: fix SPROM offset
authorPiotr Haber <phaber@broadcom.com>
Thu, 8 Nov 2012 08:47:27 +0000 (09:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:11:13 +0000 (14:11 -0500)
Offset for temperature compensation
values is wrong in ssb SPROMv8 map.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ssb/ssb_regs.h

index a052501..6ecfa02 100644 (file)
 #define  SSB_SPROM8_HWIQ_IQSWP_IQCAL_SWP_SHIFT 4
 #define  SSB_SPROM8_HWIQ_IQSWP_HW_IQCAL        0x0020
 #define  SSB_SPROM8_HWIQ_IQSWP_HW_IQCAL_SHIFT  5
-#define SSB_SPROM8_TEMPDELTA           0x00BA
+#define SSB_SPROM8_TEMPDELTA           0x00BC
 #define  SSB_SPROM8_TEMPDELTA_PHYCAL   0x00ff
 #define  SSB_SPROM8_TEMPDELTA_PHYCAL_SHIFT     0
 #define  SSB_SPROM8_TEMPDELTA_PERIOD   0x0f00