diff options
author | Christian Engelmayer <cengelma@gmx.at> | 2014-04-13 19:56:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-18 17:11:16 +0100 |
commit | bf657d2479d179a03668cd7ab8aec96415592f02 (patch) | |
tree | bd7558f455d5acafccc01a36bff24335fea3b9ba /drivers/spmi | |
parent | 7897ab78f64008a81344af9fecec6527dbab7a31 (diff) | |
download | op-kernel-dev-bf657d2479d179a03668cd7ab8aec96415592f02.zip op-kernel-dev-bf657d2479d179a03668cd7ab8aec96415592f02.tar.gz |
ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume()
Fix an incorrect sizeof() usage in sst_hsw_stream_get_volume(). sst_dsp_read()
is called to read into a variable of type u32, but is passed sizeof(u32 *) for
argument 'size_t bytes'. Detected by Coverity: CID 1195260.
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions