ASoC: Intel: avs: Power and clock gating policy overriding
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 27 Oct 2022 12:47:01 +0000 (14:47 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2022 12:04:38 +0000 (13:04 +0100)
commit2a87f17775c1cbcfb99225312e8cc7a06aa109b9
treebb27f3d057cc853652456ac7b572316f048d9c1c
parentd56829e9c1cb90044c07337fe90a9828fdb165c0
ASoC: Intel: avs: Power and clock gating policy overriding

Provide pgctl/cgctl_mask module parameters for overriding power and
clock gating policies respectively. These help deal with rare firmware
loading failures on some configurations. There're no golden masks that
cover all known problems so leave the defaults as is.

While at it, update avs_hda_l1sen_enable()'s definition so it aligns
with its power/clock friends.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221027124702.1761002-9-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/core.c