diff options
author | Andreas Irestål <andreas.irestal@axis.com> | 2016-02-04 15:05:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-05 13:16:06 +0000 |
commit | 27d6e7d1c96c9f51379e0feb972fec26029098bc (patch) | |
tree | 2620fbf7a82bf60ce48ccd12285b8df9b0fbb2f3 /drivers/fmc | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
ASoC: adau17x1: Cache writes when core clock is disabled
In some configurations, the dai registers get written before the bias
level is changed in the codec driver. This leads to a situation where
an initial write to the serial port register gets ignored, and future
writes may as well, since regmap thinks that the codec already holds the
value. More specifically, configuring the codec as i2s master would in
fact result in the codec running as slave, a situation where no i2s
clocks are generated and hence no data is transferred.
This change makes sure that regmap only caches writes when the core
clock is disabled, and syncs regmap whenever enabling the core clock
again.
Signed-off-by: Andreas Irestål <andire@axis.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions