There is no reason to use end-to-end flow control for Greybus
audio data connections so disable it and enable Controlled
Segment Dropping (CSD).
Testing Done: Played music using audio modules on an EVT1.5.
CC: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
CC: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
return -ENOMEM;
}
- connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
- gbaudio_dai_request_handler);
+ connection = gb_connection_create_flags(bundle,
+ le16_to_cpu(cport_desc->id),
+ gbaudio_dai_request_handler,
+ GB_CONNECTION_FLAG_CSD);
if (IS_ERR(connection)) {
devm_kfree(gbcodec->dev, dai);
return PTR_ERR(connection);