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

Commit 98c5d362 authored by Paul Handrigan's avatar Paul Handrigan Committed by Mark Brown
Browse files

ASoC: cs4265: Add CHIP_ID as a readable register

parent 7d1311b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -77,6 +77,7 @@ static bool cs4265_readable_register(struct device *dev, unsigned int reg)
	case CS4265_INT_MASK:
	case CS4265_INT_MASK:
	case CS4265_STATUS_MODE_MSB:
	case CS4265_STATUS_MODE_MSB:
	case CS4265_STATUS_MODE_LSB:
	case CS4265_STATUS_MODE_LSB:
	case CS4265_CHIP_ID:
		return true;
		return true;
	default:
	default:
		return false;
		return false;