]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: mrfld: fix incorrect check on p->sink
authorColin Ian King <colin.king@canonical.com>
Tue, 19 Nov 2019 11:36:40 +0000 (11:36 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 25 Feb 2020 13:07:02 +0000 (13:07 +0000)
commitee9af95ee6a5aaade5771bbddd483901f2150103
tree809e0a285475f43826f0f8ff4d9ee72d7520ca7f
parent5edcb7a361139db99857b2eafef10302414e5982
ASoC: Intel: mrfld: fix incorrect check on p->sink

The check on p->sink looks bogus, I believe it should be p->source
since the following code blocks are related to p->source. Fix
this by replacing p->sink with p->source.

Fixes: f8dc2c922848 ("ASoC: Intel: mrfld: add DSP core controls")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Copy-paste error")
Link: https://lore.kernel.org/r/20191119113640.166940-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst-atom-controls.c