]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: use snd_sof_dsp_set_power_state() op
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 28 Feb 2020 23:42:25 +0000 (15:42 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 14:31:43 +0000 (14:31 +0000)
commit608f9508daee1a6df83c64990c2de02e94d3ee9f
tree341a239d77cdc90203b1e091304da37060f6b063
parent08246f70529bd84d58be734dc2df585d5be22212
ASoC: SOF: Intel: hda: use snd_sof_dsp_set_power_state() op

Replace the calls to hda_dsp_set_power_state() with the
top-level SOF op snd_sof_set_power_state().
Along with this, modify the hda_dsp_resume() function to return
the value of snd_sof_set_power_state() directly.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200228234225.6963-1-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c