summaryrefslogtreecommitdiff
path: root/sound/isa/wavefront
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2021-11-17 17:04:52 -0800
committerMark Brown <broonie@kernel.org>2021-11-26 13:24:09 +0000
commit4999d703c0e66f9f196b6edc0b8fdeca8846b8b6 (patch)
tree536cc5a09262df4b2322dd7d7e4c54cf7a358a98 /sound/isa/wavefront
parent12dc48f545fd349ef2cadcc4d816706951b87998 (diff)
ASoC: rt5682: Fix crash due to out of scope stack vars
Move the declaration of temporary arrays to somewhere that won't go out of scope before the devm_clk_hw_register() call, lest we be at the whim of the compiler for whether those stack variables get overwritten. Fixes a crash seen with gcc version 11.2.1 20210728 (Red Hat 11.2.1-1) Fixes: edbd24ea1e5c ("ASoC: rt5682: Drop usage of __clk_get_name()") Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20211118010453.843286-1-robdclark@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/isa/wavefront')
0 files changed, 0 insertions, 0 deletions