commit | 3943b9efb381531b99bf9c545736f9e1e2715b9c | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Oct 05 21:23:48 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 16 18:13:35 2015 +0100 |
tree | 8d60bc6a54082932150f869dc5112de197c9e412 | |
parent | a5fe58fd2836987387a6ee8854c529db7f5be650 [diff] |
ASoC: rt298: Make rt298_index_def const The index_cache is per instance run time state but rt298_index_def is not. Make rt298_index_def const and make a copy of memory for index_cache rather than directly use the rt298_index_def. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>