提交線圖

894 次程式碼提交

作者 SHA1 備註 日期
Vignesh Kulothungan
e5159cdc90 dsp: asm: split check condition for NULL and stale
Split the muli-check condition into two separate check conditions.
Suppress the logs for stale condition to debug.

CRs-Fixed: 2307741
Change-Id: I984a2ea7928de052e993e77db807df83109ab423
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-09-12 11:23:34 -07:00
Linux Build Service Account
186f847814 Merge "dsp: Do not send ABR parameters if bitrate is fixed" 2018-09-10 21:36:39 -07:00
Linux Build Service Account
d47af53b2f Merge "dsp: updates to MDF for enabling access control" 2018-09-10 21:36:35 -07:00
Aniket Kumar Lata
9dce504834 dsp: Do not send ABR parameters if bitrate is fixed
ABR encoder config parameters should be sent to DSP
only when ABR is enabled. Do not send these parameters
for fixed bitrate.

Change-Id: Icf7e4feef65d01c8ae3f6c6123d490cadef46c97
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2018-09-06 15:16:43 -07:00
Linux Build Service Account
93ce3defb5 Merge "asoc: wcd937x: set default power level as ULP for wcd937x headphones" 2018-09-05 04:55:01 -07:00
Linux Build Service Account
024c3ca40e Merge "asoc: bolero: fix pop issue at start of record" 2018-09-04 12:48:36 -07:00
Linux Build Service Account
c9d7f26700 Merge "ASoC: wcd937x: Add fix to enable button detection" 2018-09-04 09:41:55 -07:00
Linux Build Service Account
a69dbed411 Merge "asoc: wcd937x: fix wcd9375 widgets override issue" 2018-09-04 06:17:53 -07:00
Gerrit - the friendly Code Review server
254a9b9d27 Merge changes into audio-drivers.lnx.3.0 2018-09-04 03:42:50 -07:00
Linux Build Service Account
56f65ecca2 Merge "asoc: mbhc: fix for fake ins irq" 2018-09-04 03:35:19 -07:00
Vatsal Bucha
302075bb10 ASoC: wcd937x: Add fix to enable button detection
Add notifier call chain to enable button detection.

Change-Id: Ibd432691e4b820b8b2e86ebc8e8c2015bb26d2b1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-09-04 14:59:19 +05:30
Linux Build Service Account
c523b34cc0 Merge "soc: swr-mstr: Add wakeup irq support from afe using event notifier" 2018-09-03 23:29:30 -07:00
Linux Build Service Account
de663528f9 Merge "soc: swr-mstr: Add support to listen for DC detection" 2018-09-03 23:29:29 -07:00
Linux Build Service Account
15792dadb8 Merge "dsp: afe: add support for swr wakeup irq events" 2018-09-03 23:29:29 -07:00
Laxminath Kasam
5f713097e1 asoc: wcd937x: set default power level as ULP for wcd937x headphones
For headphone playback, update default power level
to Ultra_Low_Power(ULP) on wcd9370.

Change-Id: Ic5e76d8f8fca1806780a4dbc679166a68c31edf3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-04 11:42:45 +05:30
Linux Build Service Account
1d3c2ad249 Merge "dsp: add blocking call support in event notifier" 2018-09-03 16:11:52 -07:00
Linux Build Service Account
8e9f1b03cb Merge "soc: swr-mstr: fix noise issue with mono speaker" 2018-09-03 12:15:15 -07:00
Linux Build Service Account
c21a9d0318 Merge "soc: swr-mstr-ctrl: porting fix from wcd controller to mstr controller" 2018-09-03 11:06:48 -07:00
Laxminath Kasam
f0128ef169 soc: swr-mstr: Add wakeup irq support from afe using event notifier
Register and handle swr wakeup irq from afe, using aud event
notifier codec interrupts during clock stop mode.

Change-Id: I76d250adcaa8af4a413f6274482beb5a3469601d
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:47 -07:00
Ramprasad Katkam
68765abe11 soc: swr-mstr: Add support to listen for DC detection
Add support to listen for DC detection event.
Shutdown WSA on receiving DC detection event.
Porting the changes from old master driver to new driver.

Change-Id: I4d323bb8074d447b2969dd01c7129e57160b6c04
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:36 -07:00
Ramprasad Katkam
250075f808 dsp: afe: add support for swr wakeup irq events
Add support for soundwire wakeup irq registration and event
notification from afe.

Change-Id: I97abe0a8bb571b997a52f90e0a0f57a26c714251
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:26 -07:00
Ramprasad Katkam
b5528d39f2 dsp: add blocking call support in event notifier
Add support for blocking call events in event notifier
to support functions which require waiting for events.

Change-Id: I255c19bc956506ea5076bb5fb1f09327141611a6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:06:31 -07:00
Linux Build Service Account
37e3245375 Merge "ASoC: bolero: Change params for vi feedback" 2018-09-03 07:25:00 -07:00
Ramprasad Katkam
201911d93e asoc: wcd937x: fix wcd9375 widgets override issue
wcd9375 widgets addition override wcd9370 widgets
registered already in dapm. Need to call
snd_soc_dapm_sync only after adding new widgets/routes.

Change-Id: I285d2f971ca2daae865156e050904fdcc9ea8c3c
signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 18:37:52 +05:30
Laxminath Kasam
9eb80226a0 asoc: bolero: fix pop issue at start of record
Observe pop at start of recording. Change the
order of HPF setting in decimator enable path
and update freq_change bit for HPF corner frequency change.

Change-Id: I6257671224a792a2afd71209fdc4e0102a83ced8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-03 16:41:43 +05:30
Ramprasad Katkam
c8d52a1f56 soc: swr-mstr: fix noise issue with mono speaker
Fix noise issue with mono speaker by properly disabling
the previous port config.

Change-Id: I55fde87fcea5c8a7f05ff82a0d8967bc7688882b
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 15:08:38 +05:30
Laxminath Kasam
4721b16381 soc: swr-mstr-ctrl: porting fix from wcd controller to mstr controller
When temperature on a single wsa881x device is being read,
then soundwire master wakes up both wsa881x devices but
regcache_sync is happening only for one wsa881x device on
which the temperature is being read. This results in
audio playback mute after temperature read. Fix the
regcache sync during temperature read and playback usecase.

Change-Id: Icee46d5105bb449f14855d33bdcb00cf5c77cb91
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-03 14:13:00 +05:30
Linux Build Service Account
d76f8f3a4f Merge "asoc: swr-mstr: add rx and tx master frame configuration" 2018-09-03 00:54:49 -07:00
Linux Build Service Account
0832e80718 Merge "asoc: sm6150: Add hostless DAIs to support fm/hfp usecases" 2018-09-03 00:54:45 -07:00
Linux Build Service Account
66fc905ff5 Merge "asoc: routing: Fix routing entries of Multimedia20 mixer" 2018-09-03 00:54:38 -07:00
Linux Build Service Account
e295162711 Merge "asoc: add routing for FM playback on sm6150" 2018-09-03 00:54:36 -07:00
Gerrit - the friendly Code Review server
d4fda3db58 Merge changes into audio-drivers.lnx.3.0 2018-09-02 23:48:59 -07:00
Linux Build Service Account
889bf17c53 Merge "ASoC: sm6150: Add vi_feed_tx channels to common controls" 2018-09-02 23:47:20 -07:00
Linux Build Service Account
64576e7a33 Merge "ASoC: Update params for CDC_DMA to fix speaker protection" 2018-09-02 23:47:20 -07:00
Linux Build Service Account
b764c33cef Merge "asoc: Add codec entry node for wcd937x to support ADIE RTAC" 2018-09-02 23:12:17 -07:00
Linux Build Service Account
4427c8b0a8 Merge "dsp: rate limit read/write error logs" 2018-09-02 23:12:16 -07:00
Linux Build Service Account
584f8171af Merge "ASoC: sm6150: Add logic to parse micbias from dt" 2018-09-02 23:12:15 -07:00
Linux Build Service Account
752c2f87d6 Merge "dsp: Add macro for packed 16B format" 2018-08-31 12:34:13 -07:00
Linux Build Service Account
6d180092fd Merge "asoc: wcd937x: enable headset detection" 2018-08-31 04:21:28 -07:00
Aditya Bavanari
4ae32fc38e asoc: Add codec entry node for wcd937x to support ADIE RTAC
Add changes to create codec entry node for wcd937x to support
ADIE RTC calibration.

CRs-Fixed: 2281591
Change-Id: I87f3c94995a8ec0c8c5e056891cb293946683885
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-31 04:12:56 -07:00
Mangesh Kunchamwar
8d16db1ee1 dsp: updates to MDF for enabling access control
Add access specifiers to MDF memory for DSPs in the system.

Change-Id: Ifa36394a8892fdd8a9ee6d25f2671a90c384d4e8
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-08-31 12:57:13 +05:30
Vatsal Bucha
89262e64f9 ASoC: sm6150: Add vi_feed_tx channels to common controls
VI_Feed_TX Channels is common for both internal and
external codec. Add it in common controls.

Change-Id: I9354adebc3238a4d332e244d9dedccf02ddd9604
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:48:05 +05:30
Vatsal Bucha
680384aad1 ASoC: Update params for CDC_DMA to fix speaker protection
Update channels_max and dai_format for cdc dma hostless,
cdc dma playback and capture to fix speaker protection.
Also, use correct struct i.e. msm_dai_q6_cdc_dma_dai_data
in get/put functions.

Change-Id: I8f37a0c9411054830fdec2b4c072315c882ffc7c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:44:18 +05:30
Vatsal Bucha
e003f502de dsp: Add macro for packed 16B format
CDC DMA TX uses PACKED_16B format if speaker prot
is enabled. Add macro AFE_LINEAR_PCM_DATA_PACKED_16BIT
for proper value of format.

Change-Id: I1070e00d26a18c77e26ff2518ef4a1256a674e20
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:38:57 +05:30
Vatsal Bucha
d1b694d0bb ASoC: bolero: Change params for vi feedback
Change max no of channels supported, format and rates
for wsa macro vi feedback.

CRs-Fixed: 2281591
Change-Id: Ie54ce4f63a02d661939ed732b388a3c26dd8ea2f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 11:49:38 +05:30
Linux Build Service Account
fe11def3f2 Merge "asoc: wcd937x: fix compilation issue in mbhc" 2018-08-30 21:01:03 -07:00
Linux Build Service Account
adf08dfb4f Merge "asoc: bolero: Add wsa macro sidetone and loopback routes" 2018-08-30 20:27:49 -07:00
Linux Build Service Account
15f0661a6b Merge "asoc: swr: master controller fixes for tanggu" 2018-08-30 20:10:10 -07:00
Linux Build Service Account
4a4336c1f3 Merge "asoc: Talos-tanggu bringup fixes" 2018-08-30 20:10:10 -07:00
Linux Build Service Account
55d2545daa Merge "asoc: bolero: Add codec version info to support ADIE RTC" 2018-08-30 14:14:49 -07:00