Backend pass-through mode is reset to LEGACY_PCM during routing close.
This results in opening of adm with non pass-through path type for
pass-through session if device switch is done during pass-through
session.
Fix this by avoid resetting Backend passthrough-mode.
Change-Id: Ia1ea10ce68ba04a72416827661b6fdc2abd48b3c
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
ASM max active sessions increase to 9 to allow 8 interactive and
one primary stream concurrently.
CRs-Fixed: 2093120
Change-Id: I92a51dd1937634abb472fc06edbdd879b3d152d0
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Fix pan control gain param to accommodate Q28 format.
Convert 32bit gain to be inlined with 16bit mixer coefficients
of ADSP.
Change-Id: I85ebd11c49b4af982f34091937acabb9e6580e8f
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Correct FM on/off sequence with following changes ->
- FM slave port close is called after LPASS port close (remove hw_free)
- Use the watermark level of 8 for FM slave ports
- Do not reset the watermark to 0 upon port disable
Change-Id: Ie785715c2b92dae6b46b346bebd45e044f54ea53
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Add tp rev property to expose TP-REV information via
rev-id peripheral.
Change-Id: I0236f84947dbf256f090ea32895904024c1f3fcf
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Update scaling factor for RRADC USBIN current
based on USBIN voltage.
Change-Id: I87b2ac56166f2e0812ec56d88c68298094eb86ac
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Some PMICs software drivers (PM660) require the TP revision
information to implement specific logic. Add an optional
property qcom,tp-rev-valid to check if support for TP REV is
available in the REVID peripheral for the PMIC.
Change-Id: Ia7a344e60bedcc6fb28d9ed9f18dc29a3d7f4fd7
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
MTU defaults to standard CAN frame, however,
since rh850 driver supports CANFD frames MTU
needs to be set accordingly.
CRs-Fixed: 2071638
Change-Id: I5015af6e61ef4b4e021a715a8dec60d42a8a9e5b
Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
Currently we use WIPOWER as the type for dc power supply.
Instead use WIRELESS in the type and use WIPOWER in the
real_type property.
Change-Id: I9081e752e5b3ff725a6ba935d6f6df4e36fec3fa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Add metadata to configure latency mode for DSP transcode
loopback to set legacy or low latency path. Userspace API
introduced to configure the same.
CRs-Fixed: 2092562
Change-Id: I914c68a9e9d8647530b72c42548e571b7508c423
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Add stream volume control support for DSP transcode
loopback to support mute configuration requirement.
CRs-Fixed: 2092562
Change-Id: I2003e40c9888245c1b12f0e7fbd364170d5008cf
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
p2p_find uses primary interface mac address during active
scan instead of the later created p2p interface on which
wpa_supplicant is running.
wpa_supplicant creates a p2p_device interface if the driver
exposes a dedicated p2p_device interface capability. The mac
address for the created p2p_device interface will be same as of
the primary interface registered with the netdev.
By disabling the dedicated p2p_device interface capabilty
for wcn3990, wpa_supplicant uses the interface passed to it
from commandline interface and hence will use the correct
mac address for the active scan purpose.
CRs-Fixed: 2092523
Change-Id: I42ff819bb195e5f5dd7fef9908786621996e93b7
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Changes to enable the laser sensor on the sdm660.
Change-Id: I2b0c8dc6454d7e99d2073acbcf58cc2f0f73148a
Signed-off-by: Wei Ding <weiding@codeaurora.org>
If device is created by of_platform_populate and removed by
of_platform_depopulate from parent device driver, platform_data
will be released twice and lead to kernel panic.
of_platform_depopulate will free platform_data of each device driver.
Usually we use devm_kzalloc to malloc for platform_data so it can be
released during driver unregister. So if device is removed by
of_platform_depopulate and platform_data is malloced by devm_kzalloc,
platform_data will be freed twice. To fix it, move this data into
struct usb_bam_ctx_type and then store usb_bam_ctx_type into device
driver data. In this way, it can be get in remove function.
The member regs of usb_bam_ctx_type is not necessary. It is only
used for ioremap which already has been done by virt_addr of
struct sps_bam_props.
Without sps_deregister_bam_device, bam child device will not be
created again during defer probe. So deregister in remove function.
Change-Id: Ibae80745be5810d400a1c05566a99efcc2190020
Signed-off-by: Ziqi Chen <ziqic@codeaurora.org>
Multiple root complexes can enumerate concurrently.
Add a global lock to prevent race condition when PCI
framework discovers and updates the PCIe bus
driver's global device table.
Change-Id: I9c88f12aef9fce05d95cfb2fa0f5374c6c4ab1e8
Signed-off-by: Tony Truong <truong@codeaurora.org>
Fix a bug for incorrect jumping out of a switch statement when
showing driver status debugfs node. PCIe link up/down description
is also missing for device boot debugfs node. Add them back.
Change-Id: I63f4b61e837643566cd6b802ce94191b7a96ba7e
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Quaternary MI2S capture dai update to support HDMI In
feature requirement using DSP HW transcode loopback.
CRs-Fixed: 2091424
Change-Id: I144bd8ad8b0e2f708acf78be00e8a93a25a88f2e
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Add the laser device with the required GPIO and
regulator configuration for sdm660 CDP and MTP.
Change-Id: I763508184eab633df0d45449addcc7d79a366e04
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
Turn off the GPU power and free all resources allocated during
GPU init in case hardware init fails in adreno_gpu_load. This is
required to make sure further tries to load the GPU again doesn't
fail because of invalid GPU state.
Change-Id: I1d0d68f62be751d76274975e098364131712ca38
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Use mutex lock for all VB2 operations, and use separatelock other
than used for stop streaming operation to avoid dead lock.
Change-Id: Ibb466f81cb2825a77073712419fd17c9759ecde4
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
If PCIe controller requests exit from L1ss shortly after it brings
rxelecidle_disable high, then it's possible that the PHY pipe clock
will turn back on for a short period of time and then go back off
asychronously. Increase PCIe PHY PLL wakeup delay to avoid this.
Change-Id: I1cace039131879969112e1690d07a8d367c06c6b
Signed-off-by: Tony Truong <truong@codeaurora.org>
Pktlog was not enabled for rx data packets.
Enable pktlog capture for rx data packets.
CRs-Fixed: 2091228
Change-Id: I8f489065081ba4da7ad7f5b8e271272279124abc
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>