ASoC: Intel: Skylake: Remove get dsp_ops in cleanup routine

dsp ops is already set in init, so use this in cleanup routine
instead of again retrieving it. Also constify struct skl_dsp_ops.

Signed-off-by: G Kranthi <gudishax.kranthikumar@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
G Kranthi
2017-03-13 22:11:30 +05:30
committed by Mark Brown
orang tua cb729d80b5
melakukan 7bd86a3059
2 mengubah file dengan 4 tambahan dan 6 penghapusan

Melihat File

@@ -105,6 +105,8 @@ struct skl_sst {
void (*update_d0i3c)(struct device *dev, bool enable);
struct skl_d0i3_data d0i3;
const struct skl_dsp_ops *dsp_ops;
};
struct skl_ipc_init_instance_msg {