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

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

mfd: wm5102: Make FLL NCO test registers readable



They contain documented status readback fields.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent eb433dad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1571,6 +1571,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
	case ARIZONA_FLL1_CONTROL_5:
	case ARIZONA_FLL1_CONTROL_6:
	case ARIZONA_FLL1_LOOP_FILTER_TEST_1:
	case ARIZONA_FLL1_NCO_TEST_0:
	case ARIZONA_FLL1_SYNCHRONISER_1:
	case ARIZONA_FLL1_SYNCHRONISER_2:
	case ARIZONA_FLL1_SYNCHRONISER_3:
@@ -1586,6 +1587,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
	case ARIZONA_FLL2_CONTROL_5:
	case ARIZONA_FLL2_CONTROL_6:
	case ARIZONA_FLL2_LOOP_FILTER_TEST_1:
	case ARIZONA_FLL2_NCO_TEST_0:
	case ARIZONA_FLL2_SYNCHRONISER_1:
	case ARIZONA_FLL2_SYNCHRONISER_2:
	case ARIZONA_FLL2_SYNCHRONISER_3:
@@ -2339,6 +2341,8 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
	case ARIZONA_SAMPLE_RATE_3_STATUS:
	case ARIZONA_HAPTICS_STATUS:
	case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
	case ARIZONA_FLL1_NCO_TEST_0:
	case ARIZONA_FLL2_NCO_TEST_0:
	case ARIZONA_FX_CTRL2:
	case ARIZONA_INTERRUPT_STATUS_1:
	case ARIZONA_INTERRUPT_STATUS_2: