We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa2a5e commit 44fda61Copy full SHA for 44fda61
sound/soc/sof/core.c
@@ -475,19 +475,10 @@ EXPORT_SYMBOL(snd_sof_device_remove);
475
int snd_sof_device_shutdown(struct device *dev)
476
{
477
struct snd_sof_dev *sdev = dev_get_drvdata(dev);
478
- struct snd_sof_pdata *pdata = sdev->pdata;
479
480
if (IS_ENABLED(CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE))
481
cancel_work_sync(&sdev->probe_work);
482
483
- /*
484
- * make sure clients and machine driver(s) are unregistered to force
485
- * all userspace devices to be closed prior to the DSP shutdown sequence
486
- */
487
- sof_unregister_clients(sdev);
488
-
489
- snd_sof_machine_unregister(sdev, pdata);
490
491
if (sdev->fw_state == SOF_FW_BOOT_COMPLETE)
492
return snd_sof_shutdown(sdev);
493
0 commit comments