OSDN Git Service

ASoC: codecs: wcd938x: add simple clk stop support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 24 Feb 2022 11:17:17 +0000 (11:17 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 25 Feb 2022 13:51:13 +0000 (13:51 +0000)
mark WCD938x as clock stop capable.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220224111718.6264-16-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd938x-sdw.c

index 1fa05ec..1bf3c06 100644 (file)
@@ -249,6 +249,7 @@ static int wcd9380_probe(struct sdw_slave *pdev,
                                        SDW_SCP_INT1_BUS_CLASH |
                                        SDW_SCP_INT1_PARITY;
        pdev->prop.lane_control_support = true;
+       pdev->prop.simple_clk_stop_capable = true;
        if (wcd->is_tx) {
                pdev->prop.source_ports = GENMASK(WCD938X_MAX_SWR_PORTS, 0);
                pdev->prop.src_dpn_prop = wcd938x_dpn_prop;