summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt298.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-10-05 16:22:40 +0300
committerMark Brown <broonie@kernel.org>2015-10-07 12:46:49 +0300
commitdc6d84c69cf8296b1e8e2fd0b1e115b7787ef4e9 (patch)
tree9f20b4bca656f8104d02ddbb6c67fa4414558751 /sound/soc/codecs/rt298.c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-dc6d84c69cf8296b1e8e2fd0b1e115b7787ef4e9.tar.xz
ASoC: rt286: Fix run time error while modifying const data
Make a copy of memory for index_cache rather than directly use the rt286_index_def to avoid run time error. Fixes: c418a84a8c8f ("ASoC: Constify reg_default tables") Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt298.c')
0 files changed, 0 insertions, 0 deletions