diff options
author | Srinivas Kandagatla | 2018-09-03 12:07:47 +0100 |
---|---|---|
committer | Mark Brown | 2018-09-03 12:17:32 +0100 |
commit | 7aa09ff24301535491cd4de1b93107ee91449a12 (patch) | |
tree | 06f7a8bb58bddaef18a7ed6cc96a025d2fe2a78b /sound/isa | |
parent | d40e3e9e44db4b3c8777f3b515ba6097ba26e3b2 (diff) |
ASoC: q6routing: initialize data correctly
Some of the router data fields are left as default zeros which are
valid dai ids, so initialize these to invalid value of -1.
Without intializing these correctly get_session_from_id() can return
incorrect session resulting in not closing the opened copp and messing
up with the copp ref count.
Fixes: e3a33673e845 ("ASoC: qdsp6: q6routing: Add q6routing driver")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions