Update the EAR and LO power up and down sequences to
fix CnP issues in rouleur codec.
Change-Id: I7e6d1cc82e9c1358b336c32b1befb7eb1dd9b552
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Only load depacketizer module for aptx_adaptive and ldac playback
use-case during dynamic load of BT modules, decoder module loading
not required.
Change-Id: If7ec559f5cc7ff428b8e0e4fac1f34e7f2469c8e
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
snd_enc_generic structure is used to pass the decoder type
and configuration. Reserved[0] contains the decoder type
and reserve[1] onwards the decoder configuration. Adapt
decoder parsing logic accordingly.
Change-Id: Icc0bf27e026e0144e8356abddf7646a6d34e645c
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
For multi COPP feature it could only allow POPPs with same app_type
to connect single COPP. But it's possible to connect different POPPs
with different app_type to single COPP, to achieve this, it should
skip the app_type check when create copp_idx.
Change-Id: I9da6e84b8ef4a5e13d29d71c016b114ea759b94f
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
Disable rx swr gpio as wakeup capable to avoid waking up system
during power collapse.
Change-Id: Idd76f8304e61b97e53ca82e407bedbdc9b0f5a7f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Make dev_up true before giving 500 ms delay in case of AATC
variant during BOLERO_WCD_EVT_SSR_UP event.
Change-Id: Ie8306c92a80df69f087f055d425b22f48f319873
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
update sound wire port frame config routing to ensure use
correct port config for device with no WCD.
Change-Id: I1746323230064f51020850cf8e1dbf2c29977bed
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Add structure and format definition for ALAC, APE, APTX, DSD,
AAC, FLAC, VORBIS and WMA.
Change-Id: Ide8027cf06c8c2f55f34d8a1b5b1b84e05851113
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
During negative test case if the backend index is out of range
we will observe crash issues, update error check to avoid crashes.
Change-Id: I07531ee538013841f93acd02537ac5a7c1e350ba
Signed-off-by: Surendar karka <skarka@codeaurora.org>
Reset music_info playback states during SSR to fix incall music session
failure after SSR.
Music delivery session requests are getting ignored if the state is not reset.
Change-Id: I7dd736baa538fb3697c874230c5a9c02f90b6a06
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
As va-macro has fs_clk gen, ensure va-macro
is registered before other macros.
Change-Id: I8283dc11817caf0c208fe231132951a7a79b7d51
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Audio core vote enables soundwire master and establishes
soundwire link without which soundwire master will not power up.
This change votes for audio core during soundwire runtime
resume and unvotes during soundwire runtime suspend.
Change-Id: I3ca283be42670a56102c4f08c0f207ae9dc4e5c3
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add notification from wcd938x to sound wire dmics
during SSR. Remove device down from dev ops to avoid
deadlock scenarios.
Change-Id: Ifdcbebb748c10deb89ad51ada1a8ce1cf33f2462
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
When soundcard registeration fails after headset IRQ is triggered, kernel
panic may happen. Start headset detection after soundcard is registered
in late_probe.
Change-Id: Ibc5cebbf0e3331db1ec89fdcb9082029c510aaf7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Aux cable is detected as unsupported sometimes due to it being
detected as cross conn. Increase hph cross conn threshold to 350mV
so that it detects fine.
Change-Id: I87e4bd36f80d7cd62e06c76acf9c9d06bb6f148a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>