mirror of https://github.com/thesofproject/sof.git
smart amp:removed hardcoded frame_fmt value
frame_fmt for feedback was hardcoded to S32_LE format. This workarround code is no longer needed. Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
This commit is contained in:
parent
95ee7a8df4
commit
75dfdb53dd
|
@ -692,15 +692,6 @@ static int smart_amp_prepare(struct comp_dev *dev)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* TODO:
|
||||
* ATM feedback buffer frame_fmt is hardcoded to s32_le. It should be
|
||||
* removed when parameters negotiation between pipelines will prepared
|
||||
*/
|
||||
if (sad->feedback_buf->stream.frame_fmt != SOF_IPC_FRAME_S32_LE) {
|
||||
sad->feedback_buf->stream.frame_fmt = SOF_IPC_FRAME_S32_LE;
|
||||
comp_err(dev, "smart_amp_prepare(): S32_LE format is hardcoded as workaround");
|
||||
}
|
||||
|
||||
sad->process = get_smart_amp_process(dev);
|
||||
if (!sad->process) {
|
||||
comp_err(dev, "smart_amp_prepare(): get_smart_amp_process failed");
|
||||
|
|
Loading…
Reference in New Issue