diff options
| author | Ranjani Sridharan <[email protected]> | 2020-08-26 11:45:32 -0700 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-08-27 14:22:24 +0100 | 
| commit | 01d42d5a0a70bdcece7228232590f177e7114368 (patch) | |
| tree | 8204d06288311b83a96325cb8bc36c5fc1e4a4f0 /lib/mpi/mpi-bit.c | |
| parent | 8b98491a6b8c41a7e4334fb94a58c268d831458e (diff) | |
ASoC: SOF: Intel: hda: Simplify error handling during FW boot
Modify cl_stream_prepare() to return a pointer to the prepared stream
if successful or ERR_PTR() otherwise. This would simplify the error
paths in hda_dsp_cl_boot_firmware() and hda_dsp_cl_boot_firmware_iccmax()
to perform the stream cleanup after FW boot. This change also renders
the function get_stream_with_tag() redundant.
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions