ASoC: rt722-sdca: Set lane_control_support for multilane
authorChao Song <chao.song@linux.intel.com>
Mon, 4 Dec 2023 21:37:21 +0000 (15:37 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 5 Dec 2023 13:12:40 +0000 (13:12 +0000)
The RT722 SDCA codec supports 3 data lanes,
lane_control_support property has to be
set to use additional two lanes.

Reviewed-by: Jack Yu <jack580304@gmail.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231204213721.197785-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt722-sdca-sdw.c

index a38ec58622145750a0a61f21b8708823f2e75997..e24b9cbdc10c958ad6b6fd932a18a533d81d7dc9 100644 (file)
@@ -256,6 +256,9 @@ static int rt722_sdca_read_prop(struct sdw_slave *slave)
        /* wake-up event */
        prop->wake_capable = 1;
 
+       /* Three data lanes are supported by rt722-sdca codec */
+       prop->lane_control_support = true;
+
        return 0;
 }