I am trying to use greybus audio protocol. And i am able to receive all I2S Management protocol and audio device protocol greybus commands after enabling cports.
Is there any time limit to process these gb_i2s_mgmt_protocol_start and gb_i2s_mgmt_protocol_activate_port. Not only these commands. In general, How much time the greybus driver will wait to complete the processing of registered protocol clients. Is there any watchdog timer processing?
Please help me to understand the sequence.
In general, greybus messages have a 1 second timeout. If your processing will take longer than that, you should respond to the message and perform the actual work on a separate thread. One exception to this rule is the set_config message, which allows a full 5 seconds before timing out.