ASoC: SOF: Intel: Use existing helpers to change GPROCEN and PIE bits
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 27 Nov 2023 10:43:13 +0000 (12:43 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2023 13:44:08 +0000 (13:44 +0000)
commit9b3cd8ebb19edd92300932b68fd6941eaf1852d0
treedaf52c705d3e7ea4de924d9937de7b62393341a0
parentd5070d0c10326e09276c34568b9a19fb9a727b6e
ASoC: SOF: Intel: Use existing helpers to change GPROCEN and PIE bits

Instead of directly changing the GPROCEN/PIE bits in PPCTL we should use
the existing helper hda_dsp_ctrl_ppcap_enable() and
hda_dsp_ctrl_ppcap_int_enable() helpers for clarity.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231127104313.16661-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c
sound/soc/sof/intel/hda.c