uapi: sound: add new ready packet type

There is a chance that the user space can send commands to wdsp
before transport layer is ready to use. Avoid this scenario by
adding a new API which user space can invoke to check the status
of the transport layer before sending any commands.

Change-Id: Icf2af8ddac3925fe02b2c8b7b8767a2141922203
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:
Vidyakumar Athota 2016-10-03 10:59:49 -07:00 committed by Gerrit - the friendly Code Review server
parent cde2fda56d
commit 3dc9ff388c

View file

@ -8,7 +8,9 @@
enum {
WDSP_REG_PKT = 1,
WDSP_CMD_PKT,
WDSP_READY_PKT,
};
#define WDSP_READY_PKT WDSP_READY_PKT
/*
* struct wdsp_reg_pkt - Glink channel information structure format