mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
wifi: iwlwifi: yoyo: swap cdb and jacket bits values
[ Upstream commit 65008777b9dcd2002414ddb2c2158293a6e2fd6f ]
The bits are wrong, the jacket bit should be 5 and cdb bit 4.
Fix it.
Fixes: 1f171f4f14 ("iwlwifi: Add support for getting rf id with blank otp")
Signed-off-by: Rotem Saado <rotem.saado@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004123422.356d8dacda2f.I349ab888b43a11baa2453a1d6978a6a703e422f0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
158b71f3a9
commit
343bb27e31
@@ -348,8 +348,8 @@
|
|||||||
#define RFIC_REG_RD 0xAD0470
|
#define RFIC_REG_RD 0xAD0470
|
||||||
#define WFPM_CTRL_REG 0xA03030
|
#define WFPM_CTRL_REG 0xA03030
|
||||||
#define WFPM_OTP_CFG1_ADDR 0x00a03098
|
#define WFPM_OTP_CFG1_ADDR 0x00a03098
|
||||||
#define WFPM_OTP_CFG1_IS_JACKET_BIT BIT(4)
|
#define WFPM_OTP_CFG1_IS_JACKET_BIT BIT(5)
|
||||||
#define WFPM_OTP_CFG1_IS_CDB_BIT BIT(5)
|
#define WFPM_OTP_CFG1_IS_CDB_BIT BIT(4)
|
||||||
|
|
||||||
#define WFPM_GP2 0xA030B4
|
#define WFPM_GP2 0xA030B4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user