When SSR triggered, graph_set_config failed should return ENETRESET instead of
ECONNRESET. so when gpr_send_pkt returns ECONNRESET, reset the value to ENETRESET.
Change-Id: I2ce72a8fef3163050f777c41fffd0266642e75dc
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Add checks in the function call audio_pkt_write, whether the given buffer is
of sufficient length or not. If buffer size is less than required size, return
an error.
Change-Id: Ia4ef36f2465ef9d0f424e02c71ca9c9a578e1885
Signed-off-by: Sivanagaraju S <quic_sivanaga@quicinc.com>
Count should not be equal to or greater than this packet_size.
Add check to avoid invalid count size.
Change-Id: I1235425c0807f50784da9d7181c8e29d297b9013
Signed-off-by: Nimit Jain <quic_nimijain@quicinc.com>
Audio pkt passthrough device name is set incorrectly to channel_name.
Correct the name of the passthrough device.
Change-Id: I2f46b2f17938933d2ada35da1101f3fc6c5d5803
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Rename casa to ar and gecko to spf in audio-kernel.
Change-Id: Ia37ee0497ce043443ca70131d2739737cb8f0366
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Add support in kona machine driver to expose a sysfs node.
Userspace uses this sysfs node to notify machine driver
on which dai-link ( pcm id) is opened/closed. This information
regarding device open/close is then compared against shutdown/
startup dai_link ops. If there is a mismatch we conclude
that there has been a userspace service crash and we
issue a close all session command to dsp and also clear
all the dma buffers which were allocated by the service.
Change-Id: I4fc13adf8cc527c87b822a3b189d4ff081539a3c
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
Add support for GPR and Audio-pkt drivers for AudioReach.
Change-Id: I4813ec1e3696900ebd426caa3017eae623b3a6c9
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>