diff options
author | Pierre-Louis Bossart <[email protected]> | 2023-10-06 11:40:41 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-09 13:14:17 +0100 |
commit | d65d4a2c3867a04ee4ae9c99747a6398b58e269b (patch) | |
tree | 8125f2f9122025c72fc9888db42cc0864a8479ab /net/lapb/lapb_timer.c | |
parent | 85a6af284d1c720d78683b550bb5d32bc84e3cfc (diff) |
ASoC: SOF: sof-client: fix build when only IPC4 is selected
When IPC3 is not selected, sof-client.c still makes a hard-coded
reference to an IPC3-specific function:
ERROR: modpost: "sof_ipc3_do_rx_work" [sound/soc/sof/snd-sof.ko]
undefined!
Fix by making the code conditional.
Closes: https://github.com/thesofproject/linux/issues/4581
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Curtis Malainey <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions