Set Ignore suspend bit for all codec dai links.
It will help to avoid dapm sync calls during
suspend operation which is consuming significant
time and causing delay in entering lp0 state.
Bug
200152856
Change-Id: Iea70de203233fbc5e5140a3d8773ed69ab64d42e
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/837085
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "x";
};
nvidia,dai-link-2 {
bit-format = "s16_le";
bclk_ratio = <4>;
srate = <8000>;
+ ignore_suspend;
num-channel = <1>;
name-prefix = "y";
};
bit-format = "s16_le";
bclk_ratio = <0>;
srate = <48000>;
+ ignore_suspend;
num-channel = <2>;
name-prefix = "z";
};
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "k";
};
};
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "x";
};
bclk_ratio = <4>;
srate = <8000>;
num-channel = <1>;
+ ignore_suspend;
name-prefix = "y";
};
bit-format = "s16_le";
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "z";
};
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "l";
};
};
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "x";
};
nvidia,dai-link-2 {
bclk_ratio = <4>;
srate = <8000>;
num-channel = <1>;
+ ignore_suspend;
name-prefix = "y";
};
nvidia,dai-link-3 {
bit-format = "s16_le";
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "z";
};
nvidia,dai-link-4 {
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
+ ignore_suspend;
name-prefix = "l";
};
};
tegra_codec_links[i].stream_name = "Playback";
tegra_codec_links[i].cpu_dai_name = "DAP";
+ tegra_codec_links[i].ignore_suspend =
+ of_property_read_bool(subnp, "ignore_suspend");
if (of_property_read_string(subnp, "codec-dai-name",
&tegra_codec_links[i].codec_dai_name)) {
dev_err(&pdev->dev,