Skip to content

Commit

Permalink
ASoC: rt1308-sdw: remove Vendor-defined command from volatile_register
Browse files Browse the repository at this point in the history
Some of them are not volatile. We should not set non volatile register
here so they can be sync when we call regcache_sync.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
  • Loading branch information
bardliao authored and plbossart committed Oct 10, 2019
1 parent 82cde27 commit bb148c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/rt1308-sdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static bool rt1308_volatile_register(struct device *dev, unsigned int reg)
case 0x3004 ... 0x3005:
case 0x3008:
case 0x300a:
case 0xc000 ... 0xcff3: /* Vendor-defined command */
case 0xc000:
return true;
default:
return false;
Expand Down

0 comments on commit bb148c4

Please sign in to comment.