Skip to content
Commit 3943b9ef authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a5fe58fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment