Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dc9ff38 authored by Vidyakumar Athota's avatar Vidyakumar Athota Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarVidyakumar Athota <vathota@codeaurora.org>
parent cde2fda5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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