ASoC: cs35l41: Change devid register to be volatile

Change the devid register to be volatile since cannot be
read from cache.

Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: Id8c15245ef71df4f0e12afd9997babe92813aa1a
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238849
Tested-by: Jira Key
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Paul Handrigan 2018-07-17 15:00:08 -05:00 • committed by Patrick Gries
commit 023a74d64a

View file

@ -603,6 +603,7 @@ bool cs35l41_readable_reg(struct device *dev, unsigned int reg)
bool cs35l41_volatile_reg(struct device *dev, unsigned int reg)
{
switch (reg) {
case CS35L41_DEVID:
case CS35L41_SFT_RESET:
case CS35L41_FABID:
case CS35L41_REVID: