Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be2f6f5a authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

mfd: wm5102: Add readback of DSP status 3 register

parent b7dea5dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2336,6 +2336,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
	case ARIZONA_DSP1_CLOCKING_1:
	case ARIZONA_DSP1_STATUS_1:
	case ARIZONA_DSP1_STATUS_2:
	case ARIZONA_DSP1_STATUS_3:
		return true;
	default:
		return false;
@@ -2386,6 +2387,7 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
	case ARIZONA_AOD_IRQ_RAW_STATUS:
	case ARIZONA_DSP1_STATUS_1:
	case ARIZONA_DSP1_STATUS_2:
	case ARIZONA_DSP1_STATUS_3:
	case ARIZONA_HEADPHONE_DETECT_2:
	case ARIZONA_MIC_DETECT_3:
		return true;
+1 −0
Original line number Diff line number Diff line
@@ -979,6 +979,7 @@
#define ARIZONA_DSP1_CLOCKING_1                  0x1101
#define ARIZONA_DSP1_STATUS_1                    0x1104
#define ARIZONA_DSP1_STATUS_2                    0x1105
#define ARIZONA_DSP1_STATUS_3                    0x1106
#define ARIZONA_DSP2_CONTROL_1                   0x1200
#define ARIZONA_DSP2_CLOCKING_1                  0x1201
#define ARIZONA_DSP2_STATUS_1                    0x1204