Commit gráf

2135 Commit-ok

Szerző SHA1 Üzenet Dátum
qctecmdr
16bfcd8c36 Merge "asoc: Add HiFi Filter support in driver" 2019-09-06 11:02:24 -07:00
qctecmdr
203c6c4eb4 Merge "ASoC: codecs: Use resource managed function calls during irq exit" 2019-09-06 10:59:54 -07:00
qctecmdr
04a0e0e298 Merge "asoc: codec: bolero: add adc mode control" 2019-09-06 10:57:56 -07:00
qctecmdr
a1cacab61b Merge "dsp: lsm: adjust mutex_lock to avoid deadlock" 2019-09-06 10:54:21 -07:00
qctecmdr
43e90d44b6 Merge "asoc: Add sysfs node for spdif pre-emphase status" 2019-09-04 03:48:00 -07:00
qctecmdr
9c7228e99b Merge "asoc: codecs: Add ep92 pre-emphasis status" 2019-09-04 03:42:06 -07:00
qctecmdr
bfa4bebe53 Merge "asoc: qcs405: Add support for META MI2S ports" 2019-09-04 03:40:09 -07:00
qctecmdr
bd95d2fa1c Merge "ASoC: compr: add amrwbplus offload support" 2019-09-04 03:38:00 -07:00
qctecmdr
9197a2e94a Merge "asoc: codecs: No I2C activity when EP92 is inactive" 2019-09-04 03:35:11 -07:00
qctecmdr
a634c77018 Merge "asoc: Add support for META MI2S ports" 2019-09-04 03:32:55 -07:00
qctecmdr
d8a58c6c05 Merge "soc: swr-mstr: Reduce swr register write sleep timings" 2019-09-04 03:30:25 -07:00
qctecmdr
b4ef63f700 Merge "ASoC: routing: update echo reference index for dp" 2019-09-04 03:26:59 -07:00
qctecmdr
d7c16ff4f4 Merge "soc: Fix out of bounds access in register show function" 2019-09-04 03:24:02 -07:00
qctecmdr
8ff9993fa0 Merge "SoC: soundwire: Add support to register for event listener" 2019-09-04 03:21:31 -07:00
qctecmdr
23104da29d Merge "soc: swr-mstr: reset slave pending irq flag before every call" 2019-09-04 03:18:36 -07:00
qctecmdr
96ea26f502 Merge "asoc: codecs: bolero: load hph filter coefficients" 2019-09-04 03:16:16 -07:00
qctecmdr
51603b4bf0 Merge "dsp: Add support for META MI2S ports" 2019-09-04 03:12:28 -07:00
Meng Wang
818d4e9b7f dsp: lsm: adjust mutex_lock to avoid deadlock
When dispatch_event in apr and q6lsm_client_free in q6lsm
are running concurrently, there may be deadlock between
session_lock in lsm and svc->m_lock in apr. Adjust session_lock
in q6lsm_client_free to avoid deadlock.

Change-Id: I26eb788d4c17af78272dd1f717717e865dfbd0ac
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-08-30 15:44:49 +08:00
Ramlal Karra
b6ef9e0377 asoc: Add HiFi Filter support in driver
Open adm with 32 bit-width when HiFi Filter control is set

Change-Id: I2c4c4c732b15b26b42d8169ae4c945356bf2bfa6
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
2019-08-30 12:23:02 +05:30
Ralf Herz
afaec2af14 asoc: qcs405: Add support for META MI2S ports
QCS405 can group data lines of several MI2S interfaces.
This feature is used with new META MI2S ports.

Change-Id: Iffc72a5aae1da8a0620ad988fdc570e5ed493956
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-29 08:31:39 +02:00
Ralf Herz
29e071318d asoc: Add support for META MI2S ports
QCS405 can group data lines of several MI2S interfaces.
Add backend dai links for new META MI2S ports.

Change-Id: I9fc5ff06b61ffc2e085c5f05a75111b63ceeeb68
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-29 08:29:05 +02:00
Ralf Herz
2725174a50 asoc: Add sysfs node for spdif pre-emphase status
Provide pre-emphasis status in sysfs node that was received in spdif
channel status bits.

Change-Id: Ie25dd67920e2d73f74328d6ce96180d392f3d771
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-28 10:02:02 +02:00
Ralf Herz
05441f6789 asoc: codecs: Add ep92 pre-emphasis status
Provide pre-emphasis status in sysfs node that was received in
channel status bits.

Change-Id: Ice6f69806c993e2235b5ecb89dfc4028c03e02b8
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-28 10:01:30 +02:00
Ralf Herz
cf16dedb1f asoc: codecs: No I2C activity when EP92 is inactive
Only trigger periodic I2C telegrams when EP92 is in logical power on state.
Rely on EP92 interrupt to notice state change when in power off state.
Fix arc_enable write operation.

Change-Id: Id36f90379280ca5c60984e2ed507844418a612d7
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-28 09:59:17 +02:00
Aditya Bavanari
9f599b4a78 soc: Fix out of bounds access in register show function
In register show function, when snprintf returns a negative value
out of bounds access occurs while copying the data to user.
Add return value check on snprintf before copy_to_user
to fix this.

Change-Id: I96bfa64b1603c966852c1d4d4a12651664f17aed
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-08-27 22:18:41 +05:30
Sudheer Papothi
594cedb3dd ASoC: codecs: Use resource managed function calls during irq exit
wcd_init_irq uses resource managed irq addition. Similarly,
use resource managed irq deletion in wcd_irq_exit.

Change-Id: I67c702c1d2fbec0c7fd496672fae03a82cb63048
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-26 23:12:45 +05:30
qctecmdr
47673f2f83 Merge "ASoC: Kona: limit sample rate and format support based on codec" 2019-08-25 03:26:06 -07:00
qctecmdr
1f4c07b7a0 Merge "ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6" 2019-08-25 03:22:19 -07:00
qctecmdr
e275ee034a Merge "ASoC: wcd938x: add support to retrieve codec variant" 2019-08-25 03:20:21 -07:00
qctecmdr
474e2a0b08 Merge "asoc: codecs: wcd934x: Add NULL checks for mbhc" 2019-08-25 03:19:13 -07:00
qctecmdr
61d0187e35 Merge "asoc: msm: Add machine qtiquingvm" 2019-08-25 03:17:05 -07:00
qctecmdr
efdfdf2782 Merge "ASoC: bolero: check for port validation before configuration" 2019-08-25 03:14:53 -07:00
qctecmdr
a8878c531d Merge "audio-kernel: Update Kbuild support for bengal" 2019-08-25 03:13:29 -07:00
Ralf Herz
43c0abd0c0 dsp: Add support for META MI2S ports
QCS405 can group data lines of several MI2S interfaces.
This feature is used with new META MI2S ports.

Change-Id: I0d8c2de742e04d7348e40e1026b1640c3f987479
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-23 20:12:48 +02:00
qctecmdr
0abec34f70 Merge "ASoC: Kona: Disable wakeup capability for DMIC45 clock gpio" 2019-08-23 00:24:53 -07:00
qctecmdr
928fd5f421 Merge "ASoC: msm-cdc-pinctrl: Add support to control wakeup capable gpios" 2019-08-23 00:19:25 -07:00
Karthikeyan Mani
1dcd5a3ab4 asoc: codec: bolero: add adc mode control
Add enum mixer control to support changing
adc mode bits for different power modes in
recording use case.

Change-Id: I9a0287b7b32285d39e65f98b5518dedd3a24af94
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-22 15:09:56 -07:00
Karthikeyan Mani
75ea1b8ade asoc: codecs: bolero: load hph filter coefficients
On hph playback usecase with compander enabled, load
hph filter coefficients to better center gain errors.

Change-Id: I3ce50d6e7b9a10255df8084adb0566d8bf9b47c7
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-22 15:09:49 -07:00
Vignesh Kulothungan
757b754489 ASoC: routing: update echo reference index for dp
Add display port 1 to the end of echo reference rx array. This avoids
shifting the existing ports and their index mapping.
Add a new switch case to return the echo reference port id for
display port 1.

CRs-Fixed: 2511612
Change-Id: I2ba9cf5e9c9fc687d429a04f40a32231c0913f5e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-08-20 10:12:15 -07:00
Surendar Karka
b06682d3e5 dsp: increase maximum active streams count
DSP supports maximum fifteen active streams.
Increase active stream count to fifteen.

Change-Id: I1312ece8cc8bf8040b728718edfb9b5c7ad48b33
2019-08-20 00:14:44 -07:00
qctecmdr
ab0a45b0db Merge "soc: swr: avoid SSR state when switching between 44.1 and 48k family" 2019-08-20 00:02:12 -07:00
qctecmdr
611b033dd9 Merge "audiodlkm: support target SA8195 from audio side" 2019-08-20 00:00:05 -07:00
qctecmdr
4a362cedcb Merge "asoc: add support for custom channel map" 2019-08-19 23:58:20 -07:00
qctecmdr
06c59655b0 Merge "soc: swr-mstr: Fix headset detection after pdr" 2019-08-19 23:54:49 -07:00
qctecmdr
25d3fc415b Merge "dsp: update DOA param id values" 2019-08-19 23:52:57 -07:00
Sudheer Papothi
c0f75b7727 ASoC: bolero: check for port validation before configuration
Check for valid port before mux configuration.

Change-Id: Iaa32925f0c23305a2a3cedd0e476372aac380e0c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-19 22:52:56 +05:30
Derek Chen
fa73f15146 ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6
To support up to 6 audio paths activated with different
devices, increase RTAC_MAX_ACTIVE_DEVICES from 4 to 6.

Change-Id: I16c1247b2b2bafdc646d412a75192494bf0e2b95
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-08-19 20:10:35 +08:00
Aditya Bavanari
d5ab1f48b2 asoc: codecs: wcd934x: Add NULL checks for mbhc
Add NULL checks for mbhc in tavil driver to avoid
NULL pointer dereferences when MBHC is not supported.

Change-Id: I43bfd062af6048486256f744bd028b27fedc7f53
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-08-16 02:39:43 -07:00
Karthikeyan Mani
5d52dd8613 soc: swr-mstr: Reduce swr register write sleep timings
Reduce swr bulk write and swr command fifo write sleeps
to reach coldstart latency numbers.

Change-Id: I52f2868a488e167b0a0f617b6af3e79cbf6f7eea
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-15 17:11:34 -07:00
Vignesh Kulothungan
406c2bf91d ASoC: Kona: limit sample rate and format support based on codec
Add support to limit sample rate and format support based on
codec variant. Register mixer controls based on the codec
limitation.

Change-Id: I8055d2862798e183669e99b472ffc03b6cedd8ca
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-08-15 10:14:07 -07:00