Commit Graph

11 Commits

Author SHA1 Message Date
Vignesh Kulothungan
dd4041eca5 ASoC: update channel map for rx multi codec usecase
Update the channel map and count to reflect all the codec
dais used by the backend dai link.

Change-Id: Id2a46210aadd8bb06eaea2ff50f8b1ddbe365105
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2021-04-27 01:56:04 -07:00
Harold Tan
fdab4dc6bf msm_common.c: fix dereference of pointer 'kctl_pdata' before NULL check
Change-Id: I8d7843b13cdfe3b0e1783acc662e4d06ae7a739a
Signed-off-by: Harold Tan <harotan@codeaurora.org>
2021-04-01 23:06:41 -07:00
Revathi Uddaraju
9d0e5be6b5 asoc: Add support for sysfs based SSR
Create sysfs node for SSR.

Change-Id: Ia181a51ae969632b739676b4b95e2bf0f50ce432
2021-02-22 01:57:49 -08:00
Jyotirmoi Sarma
a3d8911945 audio-kernel: asoc : Upgrade asoc to support 5.10 kernel
Change-Id: Ia54112cfbde418d66b9314d4ba731928aa057558
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
2020-12-08 08:49:44 -08:00
Phani Kumar Uppalapati
f9c7c60107 asoc: change log mss level from pr_err to pr_debug
Change log level to pr_debug to avoid spurious log prints
in kernel messages.

Change-Id: I4ddacad8a5b2a143d3e46e683e3374f0449c05f6
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-09-22 23:43:31 -07:00
Phani Kumar Uppalapati
10bed4cd23 lahaina: add mi2s and tdm dai-links
Change-Id: I3d541b110cc849b6e323f4df55be208e153d65eb
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-09-16 01:39:22 -07:00
Ashish Jain
b1846bb750 asoc: msm_common: Use destination size for strlcpy
Fix compilation error due to strlcpy referring to source size
instead of destination size.

Change-Id: Ifcbb70342cefbeaf77575afd98780cd7fed0fac5
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2020-07-08 06:33:09 -07:00
Phani Kumar Uppalapati
bc326d21fd audio-kernel: upgrade to ar/spf changes
Rename casa to ar and gecko to spf in audio-kernel.

Change-Id: Ia37ee0497ce043443ca70131d2739737cb8f0366
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-25 00:39:53 -07:00
Rohit kumar
ca765db76b asoc: kona: Add support for channel map mixer control
Add new mixer control to get channel map associated with
codec for Slimbus and Codec DMA interface.

Change-Id: Ie38c5b05a2a371a7f3801b1ab194546b39b5a3d6
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-06-25 00:35:51 -07:00
Ashish Jain
de3e09d08d asoc: Expose a sysfs node to notify device open/close.
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>
2020-06-25 00:35:46 -07:00
Rohit kumar
f6eb3aac0f asoc: Add msm_common.c for I2S, TDM and AUXPCM interfaces
Change-Id: I675ec1f266a68c87882094d64055481305c6bdfb
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-06-25 00:35:13 -07:00