wakeup_source_init and wakeup_source_trash are removed in new kernel.
Update the two APIs to wakeup_source_register and wakeup_source_unregister.
Change-Id: I1e0b6e856dc2636032da68bf0e3d2be215d3ae8e
Signed-off-by: Dechen Chai <dchai@codeaurora.org>
Update for qrbx210 build and update for LE build.
Change-Id: I13020267c62aa716e25f1ccd235d0a73ec5f05d0
Signed-off-by: Dechen Chai <dchai@codeaurora.org>
Increase the max BE DAI index supported to accommodate
SEP & HSIF BE DAI TDM interface added
Suggested-by: Karthik D K
Change-Id: Icb8df001ffa766212bc7f660d18307353ff82e59
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
Disable mclk2 by default. Can enable it with kcontrol
command if needed.
Change-Id: I58af41277f87c135878e419f4a2e6ab4bdf76652
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
With above extended mixer commands, bit width can be achieved
from fe_dai_app_type_cfg by FE, BE and session type.
Change-Id: I09596ac27b4327a94139b9da0e04befac45c3f30
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
Use spin_unlock_irqrestore while unlocking mutex being locked
with spin_lock_irqsave to prevent spinlock corruption.
Change-Id: I47def0516348de7caf07134167f4962bf87bcc08
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Bolero_register_macro can be called simultaneously by different
macros as bootup resulting in inconsistent value of
num_macros_registered. This will result in one of macro going ahead and
registering bolero component and other macro failing to register which
will cause probe of other macro to fail. Protect function with mutex lock
so that macros access it sequentially.
Change-Id: Idd0110d8b0bcfdcbf9f03c293c4cdba82e0a8827
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Catch any unexpected behavior with else case to
prevent invalid memory access.
Change-Id: I0edad1c645031286ba0528a52fd11655f445df35
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
Some functions in q6asm are declared as static and global with export_symbol
resulting in warning bring generated during compilation. Remove static from
functions to resolve issue.
Change-Id: I2c7be032278f956effc0d230a53fef5e02f771d7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
In the prepare stage of loopback driver, no asm cal data will report info
instead of fatal error, make sure the sequence contiune.
Change-Id: Ib7c1e0efd26838eb6b40d3cce9174dda189c8028
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
During sound card register init call, if swr pdev
is not initialized yet respective soundwire port
config is not updated to soundwire controller device.
In macro drivers, update swr pdev into macro private
data prior to platform device add.
Change-Id: Ifa67471cfc7a10b102b573df6285e598bb0b5e5e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add check to return if session id is invalid.
Change-Id: Ida0e07b78657102a3bf6e73a1ca23c44ad112426
Signed-off-by: Lakshman Chaluvaraju <lchalu@codeaurora.org>
VBG Fine Voltage should be changed to 0.5V for second source
target. Set it to corresponding value in init.
Change-Id: Ica73f45d7cb4f5f623d3333680894625603ca92c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Ensure persist cal is set for TX path if mode
is not LISTEN.
Change-Id: Ic57c71942b94473d010e90c2a52756637d78595a
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Sometimes during stability enumeration for swr dmics is not
successful due to proper delay not given after reset. Change
delay from 5msec to 10msec to resolve issue.
Change-Id: I0068d75456d9ff787ab49cbbea02438237f7ce89
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>