]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: rsnd: CTU kctrl sets once
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Sun, 1 Oct 2017 23:48:46 +0000 (23:48 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 4 Oct 2017 10:50:32 +0000 (11:50 +0100)
commit99dc79d0600849ff878a38d9884e76f5bebd3228
treef2e699636dd6170652776c5f0f46e51f041ee5b7
parentb918f1bc7f1ce463d6fbb6ebf3db36bd302bded8
ASoC: rsnd: CTU kctrl sets once

Same CTU might be used few times if system/platform is using MIX.
For example below case.

DAI0 playback = <&src0 &ctu02 &mix0 &dvc0 &ssi0>;
DAI1 playback = <&src2 &ctu03 &mix0 &dvc0 &ssi0>;

This case, ALSA will have CTU,0 and CTU,1 kcontrol interfaces,
but these are same CTU. This is confusing.
This patch adds new flags and avoid such case.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ctu.c