soc/intel_adsp: ipc: Remove fragile device state check
Checking if the device state is locked is not correct, device runtime put / get is no longer checking for it and the only place that was locking device's state was the pm action callback and if the idea was to protect some concurrent call, using it is not enough. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
741bbaca6d
commit
e85226fd1a
|
@ -148,10 +148,6 @@ int intel_adsp_ipc_send_message(const struct device *dev,
|
|||
}
|
||||
#endif
|
||||
|
||||
if (pm_device_state_is_locked(INTEL_ADSP_IPC_HOST_DEV)) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
pm_device_busy_set(dev);
|
||||
const struct intel_adsp_ipc_config *config = dev->config;
|
||||
struct intel_adsp_ipc_data *devdata = dev->data;
|
||||
|
|
Loading…
Reference in a new issue