diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-10-26 15:19:03 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 10:06:01 +0000 |
commit | 3f6f5b0cb3e3dc8fdd4eb826f30257df423b37cb (patch) | |
tree | 99ee83cf4fe08d3c3c25da4efe6645701b9ce9d7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8973112aa41b8ad956a5b47f2fe17bc2a5cf2645 (diff) |
ASoC: fsl-sai: add default register map for regmap cache
FSL_SAI_TDR register is writable and not readable. According to
regmap_volatile() function, if FSL_SAI_TDR want to be volatile,
it should be readable. So we should remove FSL_SAI_TDR from volatile
register list.
If the flat cache don't have default register map, when do regcache_sync
operation, the non volatile and writable registers will be synchronised
to 0. FSL_SAI_TDR reigster will be written a 0 and cause channel swap.
So add default register map for flat cache, and such register will not
be written.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions