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)
commit787c5214ea6f6e9b7c75ae670d6b6a7deecb2d45
tree341a239d77cdc90203b1e091304da37060f6b063
parenta57ec83a7104eab6f08215702067fbcbef90c0a0
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