diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2021-01-21 20:16:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-21 21:14:19 +0300 |
commit | 1d8fe0648e118fd495a2cb393a34eb8d428e7808 (patch) | |
tree | 8b73ed79d6bdcc8c5e1e4d195c126df97644eb09 /usr | |
parent | c1c3ba1f78354a20222d291ed6fedd17b7a74fd7 (diff) | |
download | linux-1d8fe0648e118fd495a2cb393a34eb8d428e7808.tar.xz |
ASoC: Intel: Skylake: Zero snd_ctl_elem_value
Clear struct snd_ctl_elem_value before calling ->put() to avoid any data
leak.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210121171644.131059-2-ribalda@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions