Commit graph

576763 commits

Author SHA1 Message Date
Arun Kumar Dasari
07c5d36ead misc: qcom: qdsp6v2: register ioctl calls for g711mlaw driver
Add support for ioctl calls registration in g711mlaw driver.

CRs-Fixed: 1094107
Change-Id: Ia5fddfce1f2eebaa08aad0f53cab9c0993b37695
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:08:22 +05:30
Arun Kumar Dasari
35f5cc528f misc: qcom: qdsp6v2: modify amr decoder driver
Modify decoder driver for amrwb and amrnb.
Add compat ioctl to support 32-bit architecture.

CRs-Fixed: 1094107
Change-Id: I7d463e4e14c896be33ffb3be418b9f91f49107c5
Signed-off-by: Yamit Mehta <ymehta@codeaurora.org>
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:08:09 +05:30
Arun Kumar Dasari
2ca2287f95 misc: qcom: qdsp6v2: add G711 decoder driver
add decoder driver for G711 and define a structure in a
new header which contains G711 specific configuration.
Pass this configuration parameters to the aDSP for
successful decode of G711 content.

CRs-Fixed: 1094107
Change-Id: I5296de4f525adec549c8d51fbf7fc76120b3b4f5
Signed-off-by: Yamit Mehta <ymehta@codeaurora.org>
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:07:59 +05:30
Arun Kumar Dasari
a4e64cc296 msm: Add msm_audio_g711_dec header file to Kbuild
This change adds the msm_audio_g711_dec.h file to the Kbuild.
With this change header appear properly in userspace builds.

CRs-Fixed: 1094107
Change-Id: Iab3a45c43b38b4e004c9c297fb84dfe9e6f3e2be
Signed-off-by: Yamit Mehta <ymehta@codeaurora.org>
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:07:50 +05:30
Arun Kumar Dasari
b23b342e6c ASoC: msm: qdsp6v2: support decode of g711 clips
Add support in audio stream manager to configure decode
of g711 related clips.

CRs-Fixed: 1094107
Change-Id: Ie90fd68e24e7e793aaac64290e3c1e41682d6d5a
Signed-off-by: Yamit Mehta <ymehta@codeaurora.org>
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:07:42 +05:30
Preetam Singh Ranawat
823875c46e audio: add G711 audio encoding support
G711 PCM is a commonly used waveform speech codec.
Add native audio drivers for both G711 mlaw and G711
alaw encoding formats.

CRs-Fixed: 1094107
Change-Id: Ia187948fab9840447b1f5b1ede4e9a1ece0b85c5
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:07:31 +05:30
Surendar karka
c42df21480 msm: Add msm_audio_g711 header file to Kbuild
This change adds the msm_audio_g711.h file to the Kbuild.
With this change header appear properly in userspace builds.

CRs-Fixed: 1094107
Change-Id: I40a0e5b7635e8585b9fc4cb01cfdb213418619c5
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:07:23 +05:30
Surendar karka
49af56584b ASoC: msm: qdsp6v2: support encode of g711 format
Add support in audio stream manager to configure encode
of g711 format

CRs-Fixed: 1094107
Change-Id: I496a975e427f68d7bb5cc2789bfc9bb949658233
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24 21:05:34 +05:30
Linux Build Service Account
e46119845c Promotion of kernel.lnx.4.4-161103.1.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1064187   I86976ac6139b8c76d9239acae073f03fbc5e0a38   drivers: soc: Add new parameters for APR IPC logging
1070583   Iaac10a722a595ce7864e813aa56685689356f6a9   msm: camera: isp: Fix reset sequence on stop
1078000   I142f31c6bb46d6a394ad012077e1703875a120ad   drivers: qcom: ultrasound: Lock async driver calls
1059495   I94a6fc02436734b4f398d1a72f53b3ae68612679   ASoC: msm: qdsp6v2: Index check for out of range
1081736   I030153a6b2106a6504ed51b5cb00a27f842e2488   usb: pd: Avoid calling SVID disconnect if not previously
1080245   I5b1229091fcb7b3887b54735b9663fd31a35db21   clk: Add support to vote to regulator framework from clk
1083736   I69e37a93418b99a187c7b46cf62524c5fc4901f2   ASoC: wcd934x: Update OCP connection attempts
1070583   If0e92e26c7a44c614536ba0178dc9f70a4260fd5   msm: camera: ispif: Do not reset ispif
1085213   Ie8bb9ed903e46b0914b4ba2630efa864c751c29b   ASoC: wcd934x-dsp-cntl: Add misc device to control codec
1052832   Id6d45982cbe42a113e58c9b6509eb6ef8064aeef   ASoC: msm: qdsp6v2: Change audio drivers to use %pK
1080940   Id570e427d40d08e29cad7cb74be426bf218d00ee   usb: dwc3: Draw 100mA upon host bus reset
1059495   Ic7ed961d8beb16eee35414825ec6ba7d4e95a60d   ASoC: msmcobalt: Initialize variable to default value
1084190   I7862bb0fc83573567243ffa9549a2c7405b5986c   selinux: nlmsgtab: add SOCK_DESTROY to the netlink mappi
1072758   I0f08dd57fa39d385369ef4886d12e8ea77c6ebc0   sound: usb: Map audio format received from QMI client
1081736   I4510f91e7d23ab161517c13702462da4ec8d7a2e   usb: pd: Implement RX message queuing

Change-Id: Id3ec46d006b975d7f115d738f62236bcb2b8ac70
CRs-Fixed: 1078000, 1064187, 1085213, 1084190, 1052832, 1081736, 1059495, 1083736, 1072758, 1080940, 1080245, 1070583
2016-11-03 20:21:36 -06:00
Linux Build Service Account
758693b4a6 Merge "usb: pd: Avoid calling SVID disconnect if not previously connected" 2016-11-03 06:24:06 -07:00
Linux Build Service Account
ddb7835f5f Merge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp" 2016-11-03 06:24:05 -07:00
Linux Build Service Account
ce631fb608 Merge "drivers: qcom: ultrasound: Lock async driver calls" 2016-11-03 06:24:02 -07:00
Linux Build Service Account
9da5130045 Merge "drivers: soc: Add new parameters for APR IPC logging" 2016-11-03 06:24:01 -07:00
Linux Build Service Account
d39cd55f06 Merge "ASoC: msm: qdsp6v2: Change audio drivers to use %pK" 2016-11-03 06:23:58 -07:00
Linux Build Service Account
475e375e99 Merge "ASoC: wcd934x: Update OCP connection attempts" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
086c9df600 Merge "clk: Add support to vote to regulator framework from clk framework" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
71f578efa8 Merge "ASoC: msmcobalt: Initialize variable to default value" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
f319f3de8b Merge "ASoC: msm: qdsp6v2: Index check for out of range" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
79ef787822 Merge "msm: camera: isp: Fix reset sequence on stop" 2016-11-03 06:23:53 -07:00
Linux Build Service Account
28f64cb2a6 Promotion of kernel.lnx.4.4-161103.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1084491   Ia9350b9c7810db7eb900957b4ce5dac046ab5e0d   ARM: dts: msm: Add qcom,dump-size entry for dumping CPU
1084491   I37ca3aae0471fcd60499615df77093d5b5451bf8   Documentation: arm: add cache DT bindings
1078910   I9cb454cebb74df291479cecc3533d2c684363f77   ion: disable system contig heap
1077179   I5bc6a5a46311206818d70567e31fd84adc0128be   leds: qpnp-flash-v2: Fix strobe control settings
1077868   Id568f76e03b93cf411366abf01ea857fb80ff1bf   ARM: dts: msm: correct cpu nodes information for msmtrit
1083761   Ib38ecabb3c4bf40fcf5ad368fbbdbe4c44edbf3b   msm: vidc: Scale bus bw along with venus clocks
1084236   I4c13601b0fded6de9d8f897c6d471c6a40c90e4d   sched/hmp: Automatically add children threads to colocat
1070067   I0d4b9f72a12e91b16f3844ac70db33b7de5e5263   usb_bam: Avoid uninitialized variable errors
1080024   I92bd53432a11241228d2e5ac89a3b20d19b05a31   CHROMIUM: dm: boot time specification of dm=
1049826   I3e11ca7f6df4bb0d928512f81f3e3dc40fed791a   msm: camera: cpp: Validate frame message before manipula
1080024   I952d86fd1475f0825f9be1386e3497b36127abd0   ANDROID: dm: Rebase on top of 4.1
1082476 1750919   I3a79950b76c1c38e487471f21dc60590b032dd3f   msm: vidc: Correct debugfs directory name
1080024   I4ba1043965d25ec444a833283392ac2394c845f3   Revert "init: do_mounts: Add a dummy definition for dm_t
1084009   Ie1a5038458b0b93dfec3e5bfc350686eb1f8eb1b   ASoC: wcd934x: Initialize mbhc pointer before access
1080688   Ia60fc3ecb5c2aba19effe1c8242f2d89fdef3ebd   ARM: dts: msm: specify SPI configuration for msmfalcon.
1083524   Ic26fa36bf84bce020ad07ad87de50e684dd7fa5a   ARM: dts: msm: Add initial support for msmcobalt V2 QRD
1075835 1075868   I06426109ab39d33e2b11514082c0bc989c4c8167   coresight: tmc: avoid null pointer dereference
1072541   If2b3e241076a4e0eeb87eeb4361398313fca6962   dwc3: gadget: Remove disabling events and ep0 from gadge
1081711   Iee908c56ec530569b35dafa060139e0428efc781   soc: qcom: scm: add check to avoid buffer overflow
1025311   Ie432af1fefc79f88ec67d212f8b9880355c4266d   cfg80211: support virtual interfaces with different beac
1043802   I3eb92f83b42b0fa28dc73f6e0d4f74ef50375855   ARM: dts: msm: add support for QBT1000 on msmcobalt
1082843   I6ab3992958a659995b7d5020287fd6e47e28f2a4   clk: msm: clock-debug: Print VDD level in clock_state tr
1082816   I475d1219ae62378a90c69642f2320149d0f13885   ASoc: wcd934x: correct MAD micbias setting
967547   I92b10e62be8129ead5859a285bf964ab0a3ae2fd   driver core: fix race between creating/querying glue dir
1084935   I31e8e0b5e9ae240ca031f625cf7c49f1bfe165d4   msm: secure_buffer: fix scm call argument layout
1074738   Ie7f8cee59b90f16f8a844d618a6f903b3e3c2f27   msm: mdss: lock mutex before setting backlight

Change-Id: Id13d60a1768a89563fa5209fc5fe3abfc2ea7bb0
CRs-Fixed: 1077179, 1075868, 1082476, 1083761, 1081711, 1043802, 1084935, 1049826, 1070067, 1082816, 1025311, 1074738, 1083524, 1075835, 1080024, 1750919, 1072541, 1084491, 1084009, 1077868, 967547, 1084236, 1080688, 1078910, 1082843
2016-11-03 04:18:23 -06:00
Linux Build Service Account
e1f711f8e0 Merge "usb: pd: Implement RX message queuing" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
81d5b6b5da Merge "usb: dwc3: Draw 100mA upon host bus reset" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
39a4ec35cc Merge "sound: usb: Map audio format received from QMI client" 2016-11-02 22:38:47 -07:00
Linux Build Service Account
c16a50bf49 Merge "selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables" 2016-11-02 22:38:44 -07:00
Stephen Boyd
2ac3d304b9 clk: Add support to vote to regulator framework from clk framework
Add vdd_class support which would help vote/unvote for any voltage rail
for the clock frequency to the regulator framework. A clock client request
for a clock frequency would look for the corresponding voltage vote and
would be send the request to regulator framework.

Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-11-03 09:16:56 +05:30
Jack Pham
64d72675d7 usb: pd: Avoid calling SVID disconnect if not previously connected
Only call an SVID handler's disconnect function only if it was
previously connected, i.e. when the state machine had proceeded
received a successful DISCOVER_SVIDs response. This helps to
avoid excessive notification to SVID clients.

While at it, require that .connect and .disconnect callbacks
are supplied during registration. This helps to eliminate NULL
checks each time they are called.

Change-Id: I030153a6b2106a6504ed51b5cb00a27f842e2488
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-11-02 20:22:11 -07:00
Phani Kumar Uppalapati
7ed173e8fc ASoC: wcd934x: Update OCP connection attempts
Update headphone OCP (Over Current Protection)
connection attempts to 2 to avoid hardware state
machine getting stuck in OCP state even after
reset.

CRs-Fixed: 1083736
Change-Id: I69e37a93418b99a187c7b46cf62524c5fc4901f2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-02 17:04:01 -07:00
Sudheer Papothi
c8c16b7406 drivers: qcom: ultrasound: Lock async driver calls
Adds lock to ioctl and other external calls to driver.
Adds missing null check in __usf_set_stream_param.

Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-11-02 16:40:43 -07:00
Bhalchandra Gajare
600e3c659b ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp
The codec DSP needs to be enabled only when there is use case that
utilizes the DSP. This way the codec DSP can be shutdown when it
is not used. Change adds misc device node that the user space can
use to trigger boot and shutdown of DSP.

CRs-Fixed: 1085213
Change-Id: Ie8bb9ed903e46b0914b4ba2630efa864c751c29b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-02 15:19:39 -07:00
Hemant Kumar
a77a2e80e7 usb: dwc3: Draw 100mA upon host bus reset
Upon host bus reset driver draws 0mA and switches
to higher value 900/500 mA after moving to configured
state. This causes a glitch in the led and battery icon
status. Hence request to draw 100mA to void the glitch.

Change-Id: Id570e427d40d08e29cad7cb74be426bf218d00ee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-02 14:54:30 -07:00
Linux Build Service Account
8a4f90bd10 Merge "soc: qcom: scm: add check to avoid buffer overflow" 2016-11-02 14:41:43 -07:00
Linux Build Service Account
1057dedd40 Merge "driver core: fix race between creating/querying glue dir and its cleanup" 2016-11-02 14:41:41 -07:00
Linux Build Service Account
8a4e6fcee3 Merge "msm: secure_buffer: fix scm call argument layout" 2016-11-02 14:41:40 -07:00
Linux Build Service Account
875dca44ef Merge "cfg80211: support virtual interfaces with different beacon intervals" 2016-11-02 14:41:39 -07:00
Linux Build Service Account
0959fcfffd Merge "ARM: dts: msm: add support for QBT1000 on msmcobalt" 2016-11-02 14:41:38 -07:00
Linux Build Service Account
4e38e151ea Merge "ARM: dts: msm: specify SPI configuration for msmfalcon." 2016-11-02 14:41:37 -07:00
Linux Build Service Account
46f563dcc0 Merge "leds: qpnp-flash-v2: Fix strobe control settings" 2016-11-02 14:41:37 -07:00
Linux Build Service Account
0d24d9472f Merge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board" 2016-11-02 14:41:36 -07:00
Linux Build Service Account
1bd40bfda3 Merge "ARM: dts: msm: correct cpu nodes information for msmtriton" 2016-11-02 14:41:35 -07:00
Linux Build Service Account
4b37769e9e Merge "sched/hmp: Automatically add children threads to colocation group" 2016-11-02 14:41:34 -07:00
Linux Build Service Account
adfb89a493 Merge "dwc3: gadget: Remove disabling events and ep0 from gadget stop" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
cf07c20103 Merge "ASoC: wcd934x: Initialize mbhc pointer before access" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
d8ad28c008 Merge "ASoc: wcd934x: correct MAD micbias setting" 2016-11-02 14:41:32 -07:00
Linux Build Service Account
7a4ed459e7 Merge "usb_bam: Avoid uninitialized variable errors" 2016-11-02 14:41:31 -07:00
Linux Build Service Account
59f5ac9019 Merge "clk: msm: clock-debug: Print VDD level in clock_state traces" 2016-11-02 14:41:30 -07:00
Linux Build Service Account
72b163627a Merge "msm: vidc: Scale bus bw along with venus clocks" 2016-11-02 14:41:29 -07:00
Linux Build Service Account
137f201d51 Merge "Revert "init: do_mounts: Add a dummy definition for dm_table_put"" 2016-11-02 14:41:27 -07:00
Linux Build Service Account
f505d0d4f0 Merge "coresight: tmc: avoid null pointer dereference" 2016-11-02 14:41:26 -07:00
Linux Build Service Account
ca13239ffd Merge "msm: mdss: lock mutex before setting backlight" 2016-11-02 14:41:24 -07:00
Linux Build Service Account
0e0667d15e Merge "ion: disable system contig heap" 2016-11-02 14:41:23 -07:00