diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-10-27 02:19:59 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 16:27:48 -0800 |
commit | 496fa3ba0a66c0192be86a45f44f94827ab8bcb6 (patch) | |
tree | a882c810471dd7a0c6cc0b92f3c97645635a9c61 /sound/soc/codecs/pcm3168a.c | |
parent | 818ba93b0e9ed4a08cba575dd49c1391ef4b7776 (diff) |
ASoC: stm32: sai: fix invalid use of sizeof in stm32_sai_add_mclk_provider()
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: 8307b2afd386 ("ASoC: stm32: sai: set sai as mclk clock provider")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm3168a.c')
0 files changed, 0 insertions, 0 deletions