File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 48
48
49
49
#define CS42L43_MCU_SUPPORTED_REV 0x2105
50
50
#define CS42L43_MCU_SHADOW_REGS_REQUIRED_REV 0x2200
51
+ #define CS42L43_BIOS_SHADOW_REGS_REQUIRED_REV 0x1002
51
52
#define CS42L43_MCU_SUPPORTED_BIOS_REV 0x0001
52
53
53
54
#define CS42L43_VDDP_DELAY_US 50
@@ -773,7 +774,8 @@ static int cs42l43_mcu_update_step(struct cs42l43 *cs42l43)
773
774
* Later versions of the firmwware require the driver to access some
774
775
* features through a set of shadow registers.
775
776
*/
776
- shadow = mcu_rev >= CS42L43_MCU_SHADOW_REGS_REQUIRED_REV ;
777
+ shadow = (mcu_rev >= CS42L43_MCU_SHADOW_REGS_REQUIRED_REV ) ||
778
+ (bios_rev >= CS42L43_BIOS_SHADOW_REGS_REQUIRED_REV );
777
779
778
780
ret = regmap_read (cs42l43 -> regmap , CS42L43_BOOT_CONTROL , & secure_cfg );
779
781
if (ret ) {
You can’t perform that action at this time.
0 commit comments