Close the coaleascing frame before control sequences involving
coalescing to ensure HPS is idle and that there are no open
coalescing frames/contexts.
Change-Id: I5914b7d64c58a7e557854df6fa2c6fc15a4e21df
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add new CVP feature support. Make CVP driver work with 5.x kernel:
Modified bus and ion function calls. Modified synx and firmware
version function calls. Demodulized CPU-DSP driver interface. Added
Lahaina platform configuration. Enable building CVP driver as DLKM.
Change-Id: I8a0a21b3ae87c19bf4e59bed16e9dba304503cc6
Signed-off-by: George Shen <sqiao@codeaurora.org>
Configure the callback mode only one time after starting the channel
otherwise observing IEOB interrupt received before configure callback
mode second time. It was leading race condition in updating current
polling state.
Change-Id: I35cdf77ee564ca82d9ff3e0cc6a58a88e8cbb471
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Because of using different PM handles default WAN consumer handle never
unvote data pending in suspend scenarios. Add changes to use the common
PM handle for default and coalescing pipes.
Change-Id: I2d6ff2998e7b80f11bdb7cfcd787cab098eaf718
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Sometimes the DAPM widget info is longer than 32.
Update NAME_SIZE to 64 to resolve it.
Change-Id: Iadcba84c61285ecdbccf4950b83f1d89aca5897b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
This change is to stop uplink MHIP IPA tethering channels if
there is no active tethering use case.
Change-Id: I93fb5fb9b6b83c4a7c8cdc2b7ab8b1c1ff9ff7fb
Acked-by: Jyothij <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Fixes the typo while type casting the kernel pointer.
Change-Id: Ie8e1128b2edf6cb2b1aff71ddaf0fdee286737c5
Acked-by: Suhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
The recent change in commit 0b74c9aa7ead ("usb: dwc3: ep0: Fail
enqueue() when racing with vbus_sess disconnect") added a check
to prevent queuing on ep0 if vbus_active is unset. However on
some configurations if dwc3 is configured as peripheral-only, this
flag is not set. In those cases, simply set vbus_active to true.
Change-Id: Ica633cb9f0baefb779a516c3a32a6b92f90ced24
Fixes: 0b74c9aa7ead ("usb: dwc3: ep0: Fail enqueue() when racing with vbus_sess disconnect")
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Expose sound card online/offline state to procfs so userspace application
can poll and read sound card's state.
Change-Id: Ie605ad57f4ce5abf62a216e790407029658ac3c9
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
IPA uC now supports generic header processing context that
accepts source and target headers negative offset as parameters.
This change adds HAL and API support for this new feature.
Change-Id: Idb4c977f55175a66b55b92225f6677431ad8066a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Enable USB high speed and super speed/plus PHY drivers.
Change-Id: Iff7e9700ed24ada8793cdfe393fffa1a3dc2faf5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
32 bit variable is used for storing number of bytes copied to DSP,
which can overflow when playback duration goes beyond 24 hours.
Change data type for this variable to uint64_t to prevent overflow
and related playback anomaly.
CRs-Fixed: 877677
Change-Id: Ie4dfa630cf89559bb784d4712c52526665baeca6
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Change updates the jack types that will be supported
by the platforms.
Change-Id: I948c6ffe4cc2cadd710242637c625006715ff7cc
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Specify prepare, unprepare and pre/post rate change callbacks for all
clk-rcg2 clk_ops. This ensures that supply regulator requirements are
managed properly at runtime.
Change-Id: I6d7e31983e99c2ef9f546771d7046e8f0111debc
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Specify prepare, unprepare, pre_change_rate, post_change_rate callbacks
for alpha-pll clk_ops. This ensures that supply regulator requirements
are managed properly at runtime.
Change-Id: I578b81c2ab77a8d7e2332098bd737b0646cf577d
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Add support for prepare, unprepare, pre and post rate change regmap
clk_ops callback functions for regmap clocks to handle regulator
requirements.
Change-Id: If4657adcc047e1ca005d3d4f7ab88146dba85ee0
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Enable USB Diag function driver as a module that can be
instantiated by USB ConfigFS driver.
Change-Id: I717f70ba124aa2d7d2763452e96e9d3e795ef267
Signed-off-by: Jack Pham <jackp@codeaurora.org>
This change starts using dwc3-msm.h header as all QTI PHY specific
changes are being moved from usb.h to dwc3-msm.h header. It also
removes below mentioned functionality:
- Performing USB only reset in USB + DP mode as hc died and restart
USB session functionality is now removed with dwc3 controller driver.
Change-Id: I8d3d51e56824cf7524f96d7c964e3873168e62f0
Signed-off-by: Mayank Rana <mrana@codeaurora.org>