diff options
author | Peter Ujfalusi <[email protected]> | 2022-12-21 12:23:25 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-12-25 23:32:36 +0000 |
commit | 510758ee926a30b09b0692d1d42501847ab8b058 (patch) | |
tree | 9b2e717c9a3967d5c0d82af6496570f187ba2951 /fs/stack.c | |
parent | dbdbf88bdd4f29b391041ef887f89f7ae0809971 (diff) |
ASoC: SOF: pm: Extend the optionality of IPC ops to IPC as well
The IPC ops are optional, but they require that the ops struct is to be
allocated with all callbacks set to NULL.
Update the code to extend the optionality to:
sdev->ipc == NULL
sdev->ipc->ops == NULL
sdev->ipc->ops->[pm/tplg] == NULL (treated optional for pm currently)
sdev->ipc->ops->[pm/tplg]->ops == NULL (treated optional currently)
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions